1
我一直在四處尋找,似乎沒有人得到我的錯誤代碼,我經歷了很多安裝Apache Ant,設置達ANT_HOME(其中Visual Studio中說ANT_HOME是空的),但不管怎麼說這是試圖編譯爲Android C++本機活動中的運用時,我的錯誤Android/C++ - 使用代碼3退出的命令「 bin ant.bat」
Error MSB3073 The command ""\bin\ant.bat" debug -Dout.final.file="c:\users\trevin\documents\visual studio 2015\Projects\Android1\Android1\Android1.Packaging\x86\Debug\Android1.apk"" exited with code 3. Android1.Packaging C:\Program Files (x86)\MSBuild\Microsoft\MDD\Android\V140\Android.Common.targets 378
這是我的輸出日誌:
ANDROID_HOME=C:\Program Files (x86)\Android\android-sdk
ANT_HOME=
JAVA_HOME=C:\Program Files (x86)\Java\jdk1.7.0_55
java.home=
NDK_ROOT=C:\ProgramData\Microsoft\AndroidNDK64\android-ndk-r10e\
ANDROID_NDK_HOME=C:\ProgramData\Microsoft\AndroidNDK64\android-ndk-r10e\
The system cannot find the path specified.
*Errorcode from above*
========== Build: 1 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
我在這個問題上,我一直堅持這個問題已經有2周的時間了,現在我一直在做研究,但是我找不到其他人與此錯誤代碼或哪裏甚至搜索如何解決它,所以我決定問。
螞蟻已被棄用了〜2年的Android編譯系統,除非微軟正在用它做自己的事情。 – CommonsWare
可能並不需要我剛剛看到其他「錯誤代碼」的人報告需要Ant等,所以如果它被棄用,希望它不是一個要求大聲笑。 –