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 Skullwing · May 30, 2013 at 10:52 PM · androiderrorsdkcompilerfolder

Android SDK Root Folder

English: Hey Guys, today I tried to build a simple android project, but when I tried to compile it asks for the root folder of the SDK. I selected the folder, which I think is the right one and after that, the compilation quietly failded... I found some other Threads which cover this topic, but no one could help me. Help pls!

Deutsch: Hallo Leute, ich wollte heute ein kleines Android Projekt erstellen und beim compilieren fragt mich das Programm nach dem Rootfolder der SDK ... hab den vermeindlichen Ordner rausgesucht und ausgewählt, dann macht er kurz weiter und ohne jegliche Fehlermeldung scheitert die Compilierung dann ... habe schon einige Threads dazu gefunden aber leider hat mir keiner geholfen. Hilfe pls!

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
1
Best Answer

Answer by Skullwing · Jun 06, 2013 at 08:14 PM

I solved it, just had to install an older version of the Android SDK, because they moved some files around in the new one and Unity can't handle this...

Android SDK r22 is the newst and that one, that doesn't work at the moment. Downloadlink for review21: https://dl.google.com/android/installer_r21-windows.exe

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 Graham-Dunnett ♦♦ · Jun 06, 2013 at 08:15 PM 0
Share

Unity 4.1.4 supports r22. See http://unity3d.com/unity/whats-new/unity-4.1.4

avatar image
0

Answer by Mithosbluefish · May 31, 2013 at 12:58 AM

Hey,

Your root folder should be something like:

C:/Program Files (x86)/ Android/ android-sdk

If you've entered the correct root folder into the preferences setting, make sure you've got android version 4.0 or higher installed, if not install, along with whatever other version you want to use in the SDK manager.

If compiling to phone, make sure your ADB is properly set up and the correct phone driver is installed.

Hope you solve it :)

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 Skullwing · Jun 03, 2013 at 01:22 AM 0
Share

I tried it, but ... nothing changed ...

The console said this:

 Error building Player: Exception: android (invokation failed)
 ERROR: unknown error
 cmd:android list target -c
 stdout;
 stderr:
 Exception in thread "main" java.lang.NullPointerException
     at SD$$anonymous$$$$anonymous$$ain.main(SD$$anonymous$$$$anonymous$$ain.java:62)
 
avatar image
0

Answer by StevoKeano · Nov 01, 2015 at 01:27 PM

Well, after installing on non-system Window7 drive D: SDK was located here:

%LOCALAPPDATA%/Local/Android/sdk

Had to reinstall and check the screens to find that....

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

17 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

Related Questions

Console error after selecting Android SDK location 1 Answer

Game Analytics & Facebook sdk android build error 1 Answer

Error Building Player: Win32Exception. No solution works 1 Answer

Building causes bad compiler errors 1 Answer

HELP! Building Player: Exception Android (invokation failed) Error Unkown Error 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