Stuck at ".android/repositories.cfg could not be loaded."

ishandutta2007 picture ishandutta2007 · Apr 16, 2017 · Viewed 138.3k times · Source
 brew cask install android-sdk

==> Caveats We will install android-sdk-tools, platform-tools, and build-tools for you. You can control android sdk packages via the sdkmanager command. You may want to add to your profile: 'export ANDROID_HOME=/usr/local/share/android-sdk'

This operation may take up to 10 minutes depending on your internet connection. Please, be patient.

==> Downloading https://dl.google.com/android/repository/tools_r25.2.3-macosx.zip Already downloaded: /Users/ishandutta2007/Library/Caches/Homebrew/Cask/android-sdk--25.2.3.zip ==> Verifying checksum for Cask android-sdk ==> Warning: File /Users/ishandutta2007/.android/repositories.cfg could not be loaded.

Answer

Suhayb picture Suhayb · Jun 17, 2017

Create the file! try:

mkdir -p .android && touch ~/.android/repositories.cfg