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
0
Question by aclee · Jul 25, 2014 at 08:29 PM · androiderrorbuild-error

not compiling for android

ever since i updated to unity 4.5 i got errors saying that the minimum required platform api is 14 (4.0), so i updated my sdk and now im getting this error in the consol: Error building Player: Win32Exception: ApplicationName='C:/Users/lee/Documents/sdk\tools\zipalign.exe', CommandLine='4 "C:\Users\lee\Documents\war\Temp/StagingArea/Package_unaligned.apk" "C:\Users\lee\Documents\war\Temp/StagingArea/Package.apk"', CurrentDirectory='Temp/StagingArea

help please

Comment
Add comment · Show 2
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 codestage · Jul 25, 2014 at 08:35 PM 0
Share

Did you tried to reinstall SD$$anonymous$$ from scratch?

avatar image aclee · Jul 26, 2014 at 06:26 AM 0
Share

yes, and then i download api level 14 with the sdk maneger

2 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by Fabulous-Design · Jul 26, 2014 at 06:40 AM

Step1: Go to your SDK Folder. Example: (D:\Program Files\Android Java\sdk)

Step2: Open The Folder "build-tools".

Step3: Find your build folder. (Most likely to be the folder with the hightst number)

Step4: You now see a file named "zipalign.exe" Example: (D:\Program Files\Android Java\sdk\build-tools\19.1.0\zipalign.exe)

Step5: Copy the zipalign.exe file to SDK\tools. Example(D:\Program Files\Android Java\sdk\tools)

Step6: For best result restart your PC.

Comment
Add comment · Show 2 · 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 aclee · Jul 26, 2014 at 08:42 AM 0
Share

i did that and now it compiles fine, but after installing the app it crashes when i open it. does this have anything do to with this?

avatar image ironblock · Jul 26, 2014 at 09:55 AM 0
Share

no not really how many drawcalls do you have ? you should not go above 30/35 but that's already bushing it. and if you have all your sound compressed it can also crash your game. a phone can only decompress one thing at a time. i can give you some tips on developing for android if you want.

avatar image
0

Answer by liortal · Jul 28, 2014 at 07:46 PM

This was a bug that got fixed in Unity 4.5.2 (see release notes here: Unity 4.5.2 Release Notes

Simply get the latest version to resolve your problem: http://unity3d.com/unity/download

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

26 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 avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Multiple Cars not working 1 Answer

Error Building Player: 'aapt.exe' Win32Exception 3 Answers

Wall Issue 1 Answer

Newb friendly error x.x conversion float to int 3 Answers

Help Understanding the Use of Unity with Android 1 Answer


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