Hi all.
I’ve got following problem. When I try to build my unity project on android I got following error:
Error building Player:
CommandInvokationFailure: Android
Asset Packaging Tool failed. See the
Console for details.
D:\Aplikace\AndroidSDK\build-tools\19.0.1\aapt.exe
package -v -f -F assets.ap_ -A assetsstderr[
Unable to add ‘assets\bin\Data\ca4e72d75894585449210a11c1ef6a15’:
Zip add failed ERROR: unable to
process assets while packaging
‘assets.ap_’ ERROR: packaging of
‘assets.ap_’ failed ]
I tried to remove most of the scenes but without any luck. I’ve got the latest Unity and latest android SDK installed.
I can build other projects (eg. AngryBots) with no problem.
Any suggestions?
Since the project is quite huge (1000+ files), I’d rather not trying to remove “random” components to see if the one specific file caused the problem (since the build lasts about 15 minutes).
EDIT:
I use Windows OS.
I also tried to identify which file causes the trouble so I searched for ca4e72d75894585449210a11c1ef6a15 in all *.meta files (I supposed it to be a GUID) and I found the file. It’s a script - Editor extension! I have plenty of very similar files in my project so I don’t believe it’s the file content which causes the troubles. MAy be there is too much files or the final apk will be too large? (when I build the game on win platform, the final build size is apx. 1.5 GB).