错误1:
CommandInvokationFailure: Failed to re-package resources. See the Console for details.
D:\adt-bundle-windows-x86_64-20140702\sdk\build-tools\android-4.4W\aapt.exe package --auto-add-overlay -v -f -m -J gen -M AndroidManifest.xml -S "res" -I "D:/adt-bundle-windows-x86_64-20140702/sdk\platforms\android-17\android.jar" -F bin/resources.ap_ --extra-packages com.Company.ProductName -S "F:\u3d\343Unity501Demo\Temp\StagingArea\android-libraries\unity-android-resources\res"stderr[
AndroidManifest.xml:20: error: No resource identifier found for attribute 'isGame' in package 'android'
AndroidManifest.xml:20: error: No resource identifier found for attribute 'banner' in package 'android'
]
错误2:
Error building Player: CommandInvokationFailure: Failed to re-package resources.
经过一番查找找到
http://answers.unity3d.com/questions/914949/unity-5-androidmanifestxml4-error-no-resource-iden.html
解决办法:
Solved.
1 - Install API Level 21 in Android SDK Manager.
2 - Select API Level 19 in Unity player settings.
3 - Build and success test on device.