Android SDK 25.2.3 移除了 android 命令

android 命令行被移除

$ cocos run -p android
For manual SDK and AVD management, please use Android Studio.
For command-line tools, use tools/bin/sdkmanager and tools/bin/avdmanager
Error running command, return code: 1.
Error running command, return code: 14.

http://stackoverflow.com/a/42552342

Unsupported major.minor version 52.0

升级 JDK 到 JDK8

http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html

你可能感兴趣的:(Android SDK 25.2.3 移除了 android 命令)