Reputation: 271
When I type 'android' at my command prompt I have the following message 'The "android" command is no longer available. For manual SDK and AVD management, please use Android Studio. For command-line tools, use tools\bin\sdkmanager.bat and tools\bin\avdmanager.bat'.
What do I do?
Upvotes: 10
Views: 13787
Reputation: 4942
I had to navigate to and run the following
cd /Users/<username>/Library/Android/sdk
tools/bin/sdkmanager --licenses
Upvotes: 0
Reputation: 146
Not sure what has caused this but there is a workaround you just need to download and replace the tools folder in your Android SDK with an earlier version and it will work again.
Follow these steps:
That's it.. You should now be able to run the android command from the terminal again
Upvotes: 4
Reputation: 4988
The standalone GUI based SDK manager (and AVD manager) is now gone!
You either have to use the standalone command at <SDK_ROOT>\tools\bin\sdkmanager
or
the inbuilt GUI SDK manager within the Android Studio
found at: Tools
>Android
> SDK Manager
Upvotes: 6