ionic 项目 ionic build android -release 打包时报错
黄舟
黄舟 2017-04-17 17:33:46
0
1
504

黄舟
黄舟

人生最曼妙的风景,竟是内心的淡定与从容!

reply all(1)
Ty80

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

in PATH
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="你的版本号">
        ...
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template