I have updated Android SDK to SDK version 24. Gradle syncs fine in Android Studio but using the command "cocos compile -m release -p android --android-studio" fails with errors:
The "android" command is deprecated.
For manual SDK, AVD, and project management, please use Android Studio.
For command-line tools, use tools/bin/sdkmanager and tools/bin/avdmanager
Invalid or unsupported command "update project -t android-15 -p /Users/jmclaveria/Documents/XCode/RamboatX/proj.android-studio/app"
Supported commands are:
android list target
android list avd
android list device
android create avd
android move avd
android delete avd
android list sdk
android update sdk
Error running command, return code: 2.
Have tried to download the new tools as said in this thread, but it didn't work.
How can I compile my project with the command line?