4

I am new to Unity and created my first Unity car game for Android. When I try to build the .apk file, it shows me this error:

Error building Player: Win32Exception: ApplicationName='C:/Users/Uporabnik/Desktop/Android/adt-bundle-windows-x86_64-20140624/sdk\tools\zipalign.exe', CommandLine='4 "C:\Users\Uporabnik\Documents\New Unity Tutorial1\Temp/StagingArea/Package_unaligned.apk" "C:\Users\Uporabnik\Documents\New Unity Tutorial1\Temp/StagingArea/Package.apk"', CurrentDirectory='Temp/StagingArea'

What do I need to fix?

3

3 Answers 3

3

Just copy zipalign.exe from build-tools folder to tools folder (as described here).

0
2

The same problem i was getting but solution was easy but hard to find, Do this and it will solve.

Just goto your Android SDK folder
Go to build-tools and select a version (e.g.build-tools\22.0.1)
Copy zipalign.exe
Go back to build-tools
Go into tools
Paste zipalign.exe

source:Error building Player: Win32Exception

enter image description here

That's it!

1

It is basically to do with the location of zipalign.exe check the below link you should be good.

http://forum.unity3d.com/threads/cant-build-apk-urgent-help-needed-solved.254106/

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.