• 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
Question by AusAndrew19 · May 23, 2013 at 08:41 AM · androiderrorbuilddevelopment

Android Build Error.

Hi All... I just installed Unity 3.5.2f2,

I followed http://www.youtube.com/watch?v=XIdmDumfOD4 To install the SDK for android Development. Everything was fine... The first time i went to build an example i had a error about the ADB command. So the video told me to do what http://forum.unity3d.com/threads/69870-Android-SDK-2-3-Gingerbread-regression-with-Unity-3-1 says i followed... It fixed that error.. But now when i have a virtual android device up and running and go to build i get this error.

Error building Player: Win32Exception: ApplicationName='C:/Program Files (x86)/Android/android-sdk/platforms/android-17\aapt.exe', CommandLine='package -v -f -m -J gen -M AndroidManifest.xml -S "res" -I "C:/Program Files (x86)/Android/android-sdk/platforms/android-17\android.jar" -F bin/resources.ap_', CurrentDirectory='Temp/StagingArea'

I'm not quite sure what this error means how to resolve it.. I Have 4.2.2 SDK and 2.2 Installed. Would love some help! Thank you.

Comment

People who like this

0 Show 0
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

1 Reply

· Add your reply
  • Sort: 
avatar image
Best Answer

Answer by Tomer-Barkan · May 23, 2013 at 08:49 AM

It seems there is a bug with the latest version of andriod SDK platform tools (rev 22). If you just installed, it is probably exactly the version that you installed.

See this thread here for a possible workaround:

http://answers.unity3d.com/questions/461115/android-build-fails-with-unknown-reason-after-upgr.html#answer-461120

Comment
AusAndrew19
nguyenthuan910

People who like this

2 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 AusAndrew19 · May 23, 2013 at 08:56 AM 0
Share

Yes i installed Rev 22, Will reinstall Rev 21, Will let you know! Thanks for the info.

avatar image AusAndrew19 · May 23, 2013 at 09:07 AM 0
Share

Your a Saint, Thank you!!!! This fixed it.. :)

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.

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

14 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

Related Questions

What does this error even mean? 1 Answer

Unity 5.5.1f1 Android "Error Building Player" 0 Answers

Compiler errors while switching to android 1 Answer

Android Build Errors 0 Answers

Has anyone made Android build on Unity5? 5 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