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.
ANDROID_HOME
is the wrong variable. The home variable should be something likeexport ANDROID_HOME=$HOME/.android
. It is where things like a developer's keys are stored. Based on the SDK and path, I believe they meanexport ANDROID_SDK_ROOT=/usr/local/share/android-sdk
– Chuchrepositories.cfg could not be loaded
warning can be ignored safely. – Fugacity