Hi everyone, I am new to unity android platform. I just tried to publish a scene. It is giving me an error message like " Error building Player: Win32Exception: ApplicationName=‘F:/Android_SDK/adt-bundle-windows-x86_64-20140702/sdk ools\zipalign.exe’, CommandLine=‘4 “F:\JAYESH\UNITY 3D\Android\Testing\Temp/StagingArea/Package_unaligned.apk” “F:\JAYESH\UNITY3D\Android\Testing2\Temp/StagingArea/Package.apk”’, CurrentDirectory=‘Temp/StagingArea’ " I have no idea what it is. I have set android sdk location from preference to the correct location.
I would like to test the application in AVD. For that what do I need to do? Do I need to install Unity Remote in my AVD?
It’s a very common problem with latest ADT release. It happens because they switched zipalign.exe to the build-tools folder (it has happened before with some other tools). You can solve it just by copying zipalign.exe from your F:/AndroidSDK/adt-bundle-windows-x8664-20140702/sdk/build-tools/android4.4W folder to F:/AndroidSDK/adt-bundle-windows-x8664-20140702/sdk/tools folder.
If you go into the root install of your android SDK and then go to the sdk/build-tools folder, you will find zipalign.exe, if you copy this from that folder to sdk/tools, it should work.
Give it a go and let me know how you get on
Here is a link to my question in which I was having the same problem: