PHP中文网2017-04-17 17:35:46
buildToolsVersion is not specified, please post the build script and have a look
Additional answer:
First of all, please make sure whether the environment variables are configured, whether ANDROID_HOME exists, and whether there is $ANDROID_HOME/tools:$ANDROID_HOME/platform-tools
ANDROID_HOME= 你的 sdk 位置
PATH= 原来的 PATH;$ANDROID_HOME/tools;$ANDROID_HOME/platform-tools
Secondly, it is possible that there is no configuration version number in config.xml:
<widget xmlns="http://www.w3.org/ns/widgets"
xmlns:cdv="http://cordova.apache.org/ns/1.0"
...
version="你的版本号"
android-versionCode="你的版本号">
...