Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unity3D build error

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.

like image 902
Vibhor Roy Avatar asked Jun 28 '14 11:06

Vibhor Roy


People also ask

How do I fix Unity errors?

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.

How do I fix Unity error cs0246?

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.

How do you fix error building player because scripts have compile errors in the editor?

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.


1 Answers

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!

like image 125
Febix Avatar answered Oct 06 '22 01:10

Febix