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 wyldeboyy · Dec 21, 2014 at 09:02 AM · androiderrorwin32exceptionaapt

Error Building Player: 'aapt.exe' Win32Exception

Please help me, I'm unable to Build any Android game. Sick of this error cos I tried everything on the internet and still doesn't work! I'm SDK Tools are updated too!

Error building Player: Win32Exception: ApplicationName='G:\Movies\New\SDK'\adt-bundle-windows-x86_64-20140702\sdk\build-tools\21.1.2\aapt.exe', CommandLine='package --auto-add-overlay -v -f -m -J gen -M AndroidManifest.xml -S "res" -I "G:/Movies/New/SDK'/adt-bundle-windows-x86_64-20140702/sdk/platforms/android-21\android.jar" -F bin/resources.ap_', CurrentDirectory='Temp/StagingArea'

Comment
Add comment
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

3 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by WillNode · Dec 21, 2014 at 04:35 PM

looks like you have installed Version 21.x.x of your Android SDK Build tools, try to download Version 19.x.x of Android Build Tools and replace file aapt.exe from Build Tools folder Version 21 with aapt.exe from Build Tools Version 19.

I don't know why this happen, I also had this problem, then i do this trick then it's work.

Also I recommend you to backup your aapt.exe from Build Tools Version 21 before you do this trick.

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 wyldeboyy · Dec 21, 2014 at 05:39 PM 0
Share

Thank you so much and I will try this! Do you know where I can find the older versions please?

avatar image WillNode · Dec 23, 2014 at 02:05 AM 0
Share

you can found the older version in Android SD$$anonymous$$ $$anonymous$$anager. there are multiple versions of Build Tools you can download.

avatar image Yury-Habets ♦♦ · Dec 23, 2014 at 08:41 AM 0
Share

Please don't recommend rolling back the tools, this is not a good solution.

@Wildan $$anonymous$$ubarok, you are likely using Unity version earlier than 4.5.2. Please upgrade it to the latest version available.

@wyldeboyy, your log seems to be missing special characters like backslash . Can you please paste the raw log? Do you really have single quotes in your path?

avatar image WillNode · Dec 23, 2014 at 09:01 AM 0
Share

i don't $$anonymous$$d to rolling back to earlier version, and also i have already installed newer version of unity (4.6). this error came up because of the aapt.exe it self, not unity. also when you do this trick, unity still detect that the Build Tools still in updated version.

avatar image
0

Answer by behnam96 · Oct 29, 2015 at 11:24 AM

hi my dear .so listen me good 1.just just just go to download all version to be alike for ex;build tools r23 and api r23 and tools r23

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
0

Answer by fahidnasir · Aug 09, 2016 at 04:17 PM

Change the location of the SDK to a simple location. (i.e. Root Directory of any Drive) or a directory which is not too long and does not include special characters in path name.

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

6 People are following this question.

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

Related Questions

BCE0044 unexpected char: 0xFEFF 2 Answers

Android export error -> CommandInvokationFailure: Failed to re-package resources. 0 Answers

BCE0043 unexpected token! pls help. 1 Answer

not compiling for android 2 Answers

Error building Player: Win32Exception: ApplicationName=' \tools\android.bat', CommandLine='list targets', CurrentDirectory='' UnityEditor.HostView:OnGUI() 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