Skip to content
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

[setup-env-flutter] repositories.cfg could not be loaded #1

Open
cloudwheels opened this issue Oct 20, 2019 · 0 comments
Open

[setup-env-flutter] repositories.cfg could not be loaded #1

cloudwheels opened this issue Oct 20, 2019 · 0 comments

Comments

@cloudwheels
Copy link
Owner

Warning: File /home/xxxx/.android/repositories.cfg could not be loaded.

Non-fatal warning.

See https://askubuntu.com/questions/885658/android-sdk-repositories-cfg-could-not-be-loaded

The solution: probably to create the file. See https://askubuntu.com/a/1078784

Create the file ~/.android/repositories.cfg

touch ~/.android/repositories.cfg

Then add the following lines of text in that file, for example by opening it with a text editor

nano ~/.android/repositories.cfg and typing these lines, then saving the file.
### User Sources for Android SDK Manager
#Fri Nov 03 10:11:27 CET 2017 count=0

After that you can use these commands

./Android/Sdk/tools/bin/sdkmanager --update
./Android/Sdk/tools/bin/sdkmanager --licenses
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant