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 Prototyper12 · Jun 02, 2015 at 10:56 AM · androidunity 5android buildvuforiaandroid sdk

Error Building Android Player : Win32 Exception

I need to make an AR based real time sensing mobile app(currently on android). I'm trying to use https://www.qualcomm.com/products/vuforia for the unity packages and setting up of the test markers. I'm using the latest Vuforia 4.2 package.

I am running Unity 5.0.2f1 Personal edition, on a MAC with Yosemite, 64 bit machine 2015 model. I have downloaded the latest Android Studio(with the Android SDK) for the MAC and Java SE Development Kit (JDK version 1.8.0_45). The location of the "android SDK" and the "JDK" has been entered in the Unity Player Build Settings.

The Android device is connected in Debugging mode, and is being detected by the computer.

I get the following error everytime I am trying to build for Android:

Error building Player: Win32Exception: ApplicationName='/Users/karandudeja/Library/Android/sdk/tools/aapt', CommandLine='package --auto-add-overlay -v -f -m -J gen -M AndroidManifest.xml -S "res" -I "/Users/karandudeja/Library/Android/sdk/platforms/android-22/android.jar" -F bin/resources.ap_', CurrentDirectory='Temp/StagingArea'

I am unable to figure, where could I be going wrong. I am a real beginner, started 3 days back. Please help! Please let me know if you need any other details for sorting this issue. Please mail me the help also, if you don't mind : learning2make@gmail.com

Thanks in advance. : )

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

1 Reply

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

Answer by Yury-Habets · Jun 02, 2015 at 11:27 AM

There are two possibilities:

  • you don't have Android build-tools installed

  • you have build-tools preview for just-announced-Android M which are surprisingly missing aapt.

To check, please open Android SDK Manager ("android" command in $your_sdk_path/tools), install latest stable build tools (v22.0.1 at the moment for me) and remove any RC version (probably 23.0.0_rc1).

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 Prototyper12 · Jun 03, 2015 at 06:48 AM 0
Share

Hey Yury

It worked!!!

I can't thank you enough... :D

Working on the application now, and will update you on its status in sometime. Thanks a lot again. Have an excellent day ahead. Someday, I'd like to buy you a beer! (and it won't be virtual :p )

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

3 People are following this question.

avatar image avatar image avatar image

Related Questions

Control Unity Scenes with Android studio button click(Intents)... 0 Answers

Android target api 26, google says its 24 1 Answer

How come when I generate a signed APK it produces out a JKS file? 0 Answers

Always ask to updating android SDK 4 Answers

One Signal dependecies issue 0 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