Error building Player:
Win32Exception: ApplicationName='E:/adt-bundle-windows-x86_64-20131030/sdk\tools\zipalign.exe',
CommandLine='4 "C:\Users\Owner\Desktop\Folders\Unity exe\bbt - Copy\Temp/StagingArea/Package_unaligned.apk"
"C:\Users\Owner\Desktop\Folders\Unity exe\bbt - Copy\Temp/StagingArea/Package.apk"',
CurrentDirectory='Temp/StagingArea'
Why am I getting this error? Everything was fine. Suddenly got this error while building.
Double-clicking on the error message details triggers the script to open directly, and it should even take you to the exact line where the error was generated so you can fix the error described. Once you have fixed the error, save the script and click on Unity.
There are two solutions to this error. The first is to correct the name of the namespace to match one that already exists. The second is to fix the custom namespace that was created.
Try close and then reopen Unity. See if any compile errors appear in the console when Unity opens. Make an edit to a script, save, wait for code compile and check console. Make sure errors are not disabled in the console.
It happens when a file can not be found in the correct folder ...sdk\tools\zipalign.exe.
In the yesterday published version of the SDK Tools the file "zipalign" moved from tools folder to build-tools/{version}. Just copy zipalign to "tools" folder and everything should work!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With