命令行执行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”
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 ant -f build.xml release就执行 ant clean release