Home » Android » android – Unity3D build error

android – Unity3D build error

Posted by: admin June 15, 2020 Leave a comment

Questions:

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.

How to&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!