What causes this error and how to fix it? Error building Player: CommandInvokationFailure: Failed to re-package resources. See the Console for details.
I am working on an android project and whenever I attempt to "Build" or "Build and Run" my project I get this error during "Repackaging Resources" phase. I have tried everything I could find in some answers provided at different Unity forums. Can anyone please guide me?
Here is the complete error message.
Error building Player: CommandInvokationFailure: Failed to re-package resources. See the Console for details. D:\Software\android-sdk-windows\build-tools\24.0.0-preview\aapt.exe package --auto-add-overlay -v -f -m -J gen -M AndroidManifest.xml -S "res" -I "D:/Software/android-sdk-windows\platforms\android-23\android.jar" -F bin/resources.ap_
stderr[
] stdout[
]
Answer by MiguelMizzi94 · Apr 22, 2016 at 12:21 PM
Had the same problem, got it fixed thanks to this guy. Answer in link below :
http://answers.unity3d.com/questions/1154672/can-someone-please-help-1.html