Google removed command "android"
mars3142 opened this issue · comments
I updated today my Android SDK to the latest version and now, the android command is gone. Because of this, the compile with the console is no longer possible, I had to remove the two lines after https://github.com/cocos2d/cocos2d-console/blob/v3/plugins/plugin_compile/build_android.py#L182.
Wouldn't it be better to check, if android is available and only if yes, to call the android update project?
It's interesting! Which Android SDK version are you using? I will check for the problem. Thanks for your feedback!
Yep, I find the Android SDK tools release note here. The android command & ant scripts are removed.
Looks like that command cocos compile
should make these changes:
- Can't support Eclipse project anymore with Android SDK tools 25.3.0. (Now Eclipse project depends on ant scripts.)
- Manually write
sdk.dir
to thelocal.properties
. (Now it's done byandroid update
.) - Manually write
target
(API Level) to theproject.properties
. (Now it's done byandroid update
.)