-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Troubleshooting section #18
Conversation
Hello, on Windows I believe you should use the |
Hi Nevin, I'm running it on Windows Subsystem for Linux (WSL). It's an Ubuntu 22.04 system, so the |
@hamen out of curiosity, did you check out the repo on Windows, and then ran into the issue when running Gradle from WSL? If that's the case, the easiest fix is not to share repos between Windows and WSL — annoying, I know, but you're bound to run into many such line ending issues if you do. Ask me how I know 😆 The alternative is to set the The solution you propose is ok but might result in git saying the file has changed. |
I indeed cloned the repo using Android Studio. Unfortunately, I tried |
I reckon it's useful but needs to be caveated with the "if you're on Windows, and you checked out the repo on Windows, and you're trying to build it from WSL, then...". The issue, and the workaround you documented, is going to apply to any Gradle project, not just Socialite. Arguably, it's a very niche setup, and someone who is advanced enough to do this, should already have figured out how to fix this issue as it'll apply to all their projects in the same situation. Ultimately, it's up to the maintainers to decide whether this is relevant enough for the audience of this repo. It's not a bad addition, imo. |
Oops, thank you for the clarifications @hamen, I had misunderstood the issue. |
We're not sure what the company policy is around recommending dos2unix specifically, so I've updated the text to just mention the possible root cause and a path forward.
I agree with this. The situation is not specific to this project, so it feels weird to mention it in this readme. |
I'm running this using WSL on Windows. I tried to run:
and I encountered some issue that would be worth nothing down to help more people.