sdk
sdk copied to clipboard
No Android targets available after Android Studio upgrade to 2.3
After upgrading Android Studio from 2.2.3 to 2.3 the Android target list in jME is empty. Not quite sure what exactly was included in the upgrade but the Android SDK Tools version I have installed is 25.3.1 with Android Support Repository 44.0.0 and Google Repository 44.
Also, clicking the 'Run Android Target Configuration Utility' produces 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 and tools/bin/avdmanager
This is the same output you get if the 'android' command is run from the command line.
It seems Google is changing the structure of the Android SDK a bit and thus breaking the Android support in jME.
The breaking change is version 25.3 of the Android SDK Tools, which removed the android command. jME SDK depends and that command to list the available Android target versions.
https://github.com/jMonkeyEngine/sdk/blob/master/jme3-android/src/com/jme3/gde/android/AndroidSdkTool.java#L152
This seems the relevant code. Do you know if there is a replacement command for that?
Can anyone post a link with a valid sdk so I can pass by this bug for now?
for Linux 64
If it helps: The whole procedure changed. There is no more sdk: https://developer.android.com/studio/index.html#downloads The option "just the command line tools" has no gui for the sdk manager. If presented as sdk to the GUi ("SDK Locaction"), it does not get accepted. The old sdk manager appears if you install the studio. There is a link.
I hope that I am right and that this helps. IMHO, Android is broken for now.
People must have complained because there is now a separate download again for just command line tools. To list the currently installed android platforms you can run this command from the tools directory of the android adk ./android.bat list target
for windows. Not sure what the command would be for Linux or Mac.
Users can downgrade to SDK Tools 25.2.5 and it should work until JME is configured to work with the new SDK changes. http://dl-ssl.google.com/android/repository/tools_r25.2.5-windows.zip http://dl-ssl.google.com/android/repository/tools_r25.2.5-macosx.zip http://dl-ssl.google.com/android/repository/tools_r25.2.5-linux.zip