Question by
MatteoVeraldi · Jul 22, 2016 at 10:39 AM ·
androidgamebuild-error
Failed to repackage resources when building Android game
Hello everyone. When I build my game an error appears:
Error building Player: CommandInvokationFailure: Failed to re-package resources. See the Console for details.
C:\Program Files (x86)\Android\android-sdk\build-tools\24.0.0\aapt.exe package --auto-add-overlay -v -f -m -J gen -M AndroidManifest.xml -S "res" -I "C:/Program Files (x86)/Android/android-sdk\platforms\android-24\android.jar" -F bin/resources.ap_
stderr[
]
stdout[
]
Can someone help me please? It's the first time I attempt to make an app on Unity. I hope you'll answer soon, Thank you in advance :)
Comment
Answer by MatteoVeraldi · Jul 22, 2016 at 10:57 AM
I solved the issue by downgrading Android Building tools from 24 to 23.0.3, now it works! Do i have to delete the question or I shall leave it here so that if someone has the same issue can try my solution?