我已将我的Unity项目从PC移植到Mac,现在我无法编译muy版本,我收到以下错误:
Error building Player: Win32Exception: ApplicationName='/Users/josephtripp/Library/Android/sdk/tools/aapt', CommandLine='package --auto-add-overlay -v -f -m -J gen -M AndroidManifest.xml -S "res" -I "/Users/josephtripp/Library/Android/sdk/platforms/android-22/android.jar" -F bin/resources.ap_ --extra-packages com.everyplay.Everyplay:com.unity3d.ads.android -S "/Users/josephtripp/sens-rebooted/Temp/StagingArea/android-libraries/everyplay/res" -S "/Users/josephtripp/sens-rebooted/Temp/StagingArea/android-libraries/unityads/res"', CurrentDirectory='Temp/StagingArea'
我尝试重新导入所有资产,但我似乎无法修复它,任何人都有任何想法?
答案 0 :(得分:2)
更新android SDK后我遇到了这个问题
转到androidsdk \ build-tools \ 19.1.0(你的版本是什么)并将aapt.exe复制到androidsdk \ tools \并粘贴aapt.exe,现在尝试构建for android