Unity Android Build Error Win32 Exception Zipalign
Every time I try to build my game for android, I get this error: Error building Player: Win32Exception: ApplicationName='.../.../.../.../adt-bundle-mac-x86_64-20140624/sdk/tools/z
Solution 1:
- Find your copy of the Android SDK in explorer
- Go to
build-tools
and choose a version (e.g.build-tools\19.1.0
) - Copy
zipalign.exe
- Come back out of
build-tools
- Go into
tools
- Paste
zipalign.exe
Solution 2:
You need to copy the zipalign tool from sdk/build-tools/android-{version}/ to sdk/tools/
Solution 3:
In Unity go to Edit>Preferences>External Tools> in "Android SDK Location" select the folder of android-sdk (C:\Program Files (x86)\Android\android-sdk) in my case.
Solution 4:
You need to copy zipalign as suggested at accepted answer; but if there are no zipalign file in related folder first you should go tools, run android and then install build-tools
Solution 5:
To fix this error:
- Go to C:\Program Files (x86)\Android\android-sdk\build-tools\20.0.0 (you may have different version)
- Copy zipalign.exe to C:\Program Files (x86)\Android\android-sdk\tools\ (or in your Android SDK path)
Found here
Post a Comment for "Unity Android Build Error Win32 Exception Zipalign"