1
我在建立MSVC 2015中的APK時遇到了問題。
問題可能與構建管道有關嗎?Visual Studio 2015 CTP - Android ant.bat生成錯誤MSB3073
任何想法?
2>------ Build started: Project: NativeApp1.Packaging, Configuration: Debug ARM ------
2> ANDROID_HOME=C:\Program Files (x86)\Android\android-sdk
2> ANT_HOME=C:\Program Files (x86)\Microsoft Visual Studio 14.0\Apps\apache-ant-1.9.3\
2> JAVA_HOME=C:\Program Files\Java\jdk1.7.0\jre
2> NDK_ROOT=C:\Program Files (x86)\Microsoft Visual Studio 14.0\Apps\android-ndk-r10\
2> 9.0 was unexpected at this time.
2>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\AndroidPackaging\Android.Common.targets(280,5): error MSB3073: The command ""C:\Program Files (x86)\Microsoft Visual Studio 14.0\Apps\apache-ant-1.9.3\\bin\ant.bat" debug -Dout.final.file="G:\Projects\Android\NativeApp1\ARM\Debug\NativeApp1.Packaging.apk"" exited with code 255.
語法,在標題中添加錯誤代碼 –