Once you have that working, proceed to install emulator and images $ANDROID_HOME/tools/bin/sdkanager 'emulator' sdkmanager is in $ANDROID_HOME/tools/bin/sdkmanager, if it’s available, you can try upgrading it through there, as in: $ANDROID_HOME/tools/bin/sdkmanager 'tools 26.1.1' NDK extraction, now that’s a time hog.Īs for the “overwrite and mess things up” concern, you could check if $ANDROID_HOME/tools is there. It’s only 150 megs, so I wouldn’t worry about the download times.
If I understand correctly, this is the “tools 26.1.1 Android SDK tools” package that you can find through “sdkmanager -list”. Go to Android Studio download page and look for command line tools. Wget -quiet -output-document=android-sdk.zip $/bin:$PATH' Once you have sdkmanager you can install emulator or whatever else you wanted. You can get the sdkmanager by downloading the zip from google and unzipping into $ANDROID_HOME.
Ran into this when I was trying to get CMake-3.10.2 available in gradle.