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
3
Question by SrBilyon · Apr 04, 2011 at 05:39 AM · androidbuildbug

Android Building Bug? "Trying to locate Android SDK installation folder..."

I have my Android SDK and Java SDK up to date (and on another computer) both running Windows 7 x64 and when select to build or build and run, "Trying to locate Android SDK installation folder..." appears and hangs. However, if I force close java.exe in the Task manager, the prompt clears and Unity and continues to build/runs the .apk just fine.

Could this be a bug or is this a known problem? -Running Unity3D 3.3.04f

Comment
Add comment · Show 3
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 reawr · May 12, 2011 at 12:17 AM 1
Share

Same problem on XP and don't have java.exe in the task manager?

avatar image _Petroz · May 29, 2011 at 03:42 AM 0
Share

I'm also running Win7 Home 64 and this worked for me.

avatar image naeem · Aug 19, 2011 at 06:19 AM 0
Share

when i build i got this error

Available Android targets: id: 1 or "android-8"

7 Replies

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

Answer by luvcraft · Jul 28, 2011 at 06:46 PM

Yay! This bug appears to be fixed in 3.4! No more having to open Task Manager and kill that process every time I build for Android!

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
3

Answer by luvcraft · May 20, 2011 at 05:33 PM

I'm having this same problem. The java.exe process starts right when the "Trying to locate Android SDK installation folder..." message appears, and force closing the process via Task Manager immediately fixes it. I hope a solution is forthcoming, since it's kind of annoying.

I'm also running Win 7 (Home) 64-bit.

Comment
Add comment · Show 5 · 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 dave 3.du · Apr 07, 2011 at 07:39 PM 1
Share

Weird! I was also having this problem, your fix worked for me as well. thanks!

avatar image dave 3.du · Apr 07, 2011 at 08:04 PM 1
Share

Actually, it appeared to build fine, but didn't work on the phone... :(

avatar image ThomasQ · Apr 07, 2011 at 10:56 PM 1
Share

I had the same error message.. Then I redownloaded the SD$$anonymous$$, with All available platforms. I put it on my d: drive (don't know if that had anything to do with it though), and since then it works fine!

avatar image naeem · Aug 17, 2011 at 07:02 AM 0
Share

hi all i am using unity 3 and build android apk. butt when i am try to build android emulator i get a error msg in necessary permission (Bundle identifier has not set up corectly , please set bundle identifier player settiond the value must follow the convention "com.companyName.yourproduect.....) have any idea thanks

avatar image naeem · Aug 19, 2011 at 06:19 AM 0
Share

when i build i get this error Available Android targets: id: 1 or "android-8"

avatar image
2

Answer by NewfieJoe · May 25, 2011 at 04:37 PM

Did some testing and it chokes if there are in spaces in the path to the Android SDK. Default location is in Program Files or Program Files(x86). If it's installed anywhere without a space like c:/Android it works without having to kill java.exe

Comment
Add comment · Show 5 · 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 Jot · May 03, 2011 at 02:48 PM 1
Share

Have the same problem here (force close java and it works). Very, very strange. Im trying to reinstall it and will post the effect later (hopefully).

avatar image Jot · May 04, 2011 at 08:28 AM 1
Share

Hi. Ok I reinstalled the whole sdk (and jdk), also tried another partition (d) but i have the same problem - i have to force close java in the task manager. It works, yea, but its not the most elegant solution :)

avatar image luvcraft · May 25, 2011 at 04:50 PM 0
Share

This didn't work for me. I had the same problem even if I moved the folder to c:/android-sdk

:(

avatar image NewfieJoe · May 25, 2011 at 05:46 PM 0
Share

That would break the Path environment variable and Start menu shortcuts. Just copy it there ins$$anonymous$$d of moving it and remember to update the preferences in Unity to point to the new location so when it does the java call that seems to be causing the issue it works.

avatar image NewfieJoe · May 29, 2011 at 10:43 PM 0
Share

Addendum, if you have UAC turned on you'll need to reinstall the Android SD$$anonymous$$ to a path with no spaces someplace you don't need ad$$anonymous$$istrative privileges to access so the package manager has no problems either ins$$anonymous$$d of just copying the folder.

avatar image
0

Answer by Foodey · Dec 06, 2012 at 05:20 PM

I have created a game with unity3d v3.3 . but cannot built with android : Exception: Error building Player: Win32Exception: ApplicationName='java.exe', CommandLine='-Dcom.android.sdkmanager.toolsdir="C:/Users/Admin/AppData/Local/Android/android-sdk\tools" -classpath "C:/Users/Admin/AppData/Local/Android/android-sdk\tools\lib\sdkmanager.jar" com.android.sdkmanager.Main list targets', CurrentDirectory='' UnityEditor.BuildPlayerWindow.BuildPlayerWithDefaultSettings (Boolean askForBuildLocation, BuildOptions forceOptions) (at C:/BuildAgent/work/6bc5f79e0a4296d6/Editor/Mono/BuildPlayerWindow.cs:341) UnityEditor.BuildPlayerWindow.BuildPlayerAndRun () (at C:/BuildAgent/work/6bc5f79e0a4296d6/Editor/Mono/BuildPlayerWindow.cs:263)

plase ! who know how to do this problem?

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 WHGames · Aug 07, 2013 at 02:49 PM

i have exactly the same problem as Foodey so please give us a solution if you can.

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
  • 1
  • 2
  • ›

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

Things/features not available on android 0 Answers

Distribute terrain in zones 3 Answers

Reflection probe smoothness on full reflection in build 0 Answers

Only particle shaders are visible after building for Android 0 Answers

scene buggy when built 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