Android ant 打包 ant -f build.xml release 出错

命令行执行build.xml:    ant -buildfile build.xml  

error 处理

> BUILD FAILED> C:/Android/android-sdk/tools/ant/build.xml:601: The following error occurred while executing this line:> C:/Android/android-sdk/tools/ant/build.xml:653: The following error occurred while executing this line:> C:/Android/android-sdk/tools/ant/build.xml:698: null returned: 1

就执行 ant clean release
然后再 ant ant -f build.xml release


includeantruntime="false" 老版本的ant需要加 “false” 

你可能感兴趣的:(个人感受)