Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
1
Question by danipisca07 · Jul 08, 2014 at 08:42 AM · build-errorcommand-lineandroid-sdk

Error on android game building, Win32Exception: ApplicationName='F:/Android SDK\tools\zipalign.exe', CommandLine='4

Hi at all, I'm trying to develop my first game(in 2D) and when I try to build the game for android, after I've selected the android SDK Unity give me an error, that for me it's indecipherable. Error: Error building Player: Win32Exception: ApplicationName='F:/Android SDK\tools\zipalign.exe', CommandLine='4 "F:\Dani\Unity\CrazyCyclist\Temp/StagingArea/Package_unaligned.apk" "F:\Dani\Unity\CrazyCyclist\Temp/StagingArea/Package.apk"', CurrentDirectory='Temp/StagingArea'

I've tryed to copy the apk in Temp/StagingArea/Package_unaligned.apk and I've installed it on my android phone and it works great but somewhere there must be a problem. Can you help me? :P

Thank you in advance! Soon

Comment
Add comment · Show 3
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image meat5000 ♦ · Jul 07, 2014 at 11:53 PM 1
Share

Did you install the Build tools in Android SD$$anonymous$$ manager?

avatar image sovan · Aug 03, 2015 at 09:31 AM 0
Share

Thanks man. It helped me to save time.

avatar image dandesz198 · Jul 03, 2016 at 12:23 PM 0
Share

Still having on Unity 5.3.5f6 with API Level 23. Unity installs it for itself. Copying zipalign.exe not works, reinstall Unity or Android SD$$anonymous$$ not works, removing build-tools and platforms folder's content not worked.

5 Replies

· Add your reply
  • Sort: 
avatar image
6
Best Answer

Answer by JayFitz91 · Jul 08, 2014 at 01:50 PM

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:

http://answers.unity3d.com/questions/742757/android-build-error-error-building-player.html

Comment
Add comment · Show 4 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image danipisca07 · Jul 11, 2014 at 05:47 AM 0
Share

Thank you jayfitz! you solved the problem!! anyway thanks to liortal too, i'm downlaoding the new version right now :) Thank you both guys ;D

avatar image adrian110288 · Aug 16, 2014 at 04:30 PM 0
Share

it helped in my case too! thanks alot

avatar image Mouldi · Oct 24, 2014 at 05:39 PM 0
Share

me too thanks guys :)

avatar image Bunny83 · Oct 24, 2014 at 06:24 PM 2
Share

I know the people on this site are quite vote lazy, but it's funny to see an answer that seems to have helped at least 3 people but it has no upvote. Upvoting (if you're able to) doesn't cost you anything.

What most people also forget is to look at the quality of the question and upvote the question as well. New users can't vote if they are below 15 karma. If they don't get some karma from those who are able to vote you won't get anything back from them since they simply can't.

(I've actually given more karma than i've received)

avatar image
1

Answer by liortal · Jul 09, 2014 at 07:01 AM

This was a bug that was resolved in Unity 4.5.1 p4 - http://forum.unity3d.com/threads/unity-patch-releases.246198/

UPDATE

Latest Unity version at this time (4.5.2) contains the fix. Get the latest version and this issue will be resolved.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
1

Answer by Nub3h · Jul 16, 2014 at 08:26 AM

I still have the problem on Mac. There's no zipalign.exe file there and Unity 4.5.2 still has the same issue :(

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Fleischer · Aug 14, 2014 at 07:26 PM 0
Share

I have version Unity 4.5.3 on $$anonymous$$ac and still not working. Also tried to place some zipalign from build-tools to tools, but nothing changed

avatar image
0

Answer by smallbit · Aug 03, 2014 at 04:00 AM

I know it can be outdated but I stumbled to this issue with API 20 of Android, so i post the solution if somebody will need it.

@Nub3h you need to download Android SDK Build Tools, than in sdk/build tools 20.0.0 folder will appear, in which you will find the zipalign.exe. Rest is like posted above.

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image demonpants · Feb 23, 2015 at 01:15 AM 0
Share

Yep, I had the same thing. Have to install the build tools first.

avatar image
0

Answer by Pongky · Nov 17, 2016 at 08:06 PM

just simple, copy and pase zipallin from buildtool to tool folder

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

11 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Why can't I build Web Player in Unity while I have no problems with building standalone versions? 2 Answers

Multiple plugin conflict 8 Answers

Unity iOS CompileC error while building through Xcode 1 Answer

I can not build for android , error :Path is too long exception 1 Answer

Unity is building older version of my game 2 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges