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 /
  • Help Room /
avatar image
2
Question by banzai777 · Aug 11, 2017 at 07:32 AM · android sdkosx

[OS X] Unable to select Android SDK folder because it ends with .app

I'm running OS X Yosemite and the dialog to select the root folder of the Android SDK has all non-folders disabled. The folder ends in .app so it's not selectable as a folder in that dialog window. I've tried symbolic links and the OS still sees it as a non-folder so I'm unable to select it.

What's the fix for this?

Thank you!

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 Landern · Dec 31, 2014 at 09:33 AM 0
Share

Did you download android studio by mistake? What is the file name with the extension .app?

@tanoshimi, when you build an android apk in unity and the sdk isn't recognized a dialog will display titled (Selecte Android SD$$anonymous$$ root folder" and ask you to locate it.

@joshrenaud, you may need to download the real SD$$anonymous$$ without android studio: http://dl.google.com/android/android-sdk_r24.0.2-macosx.zip

I hope you can deal with the install manually.

None direct link: https://developer.android.com/sdk/index.html

avatar image banzai777 · Dec 31, 2014 at 09:37 AM 0
Share

Tanoshimi - We are in a forum for Unity development so the context of this is that I'm running Unity for OS X and trying to compile for Android. In order to compile for Android, you have to select the location of the Android SD$$anonymous$$ in the Unity prefs.

avatar image banzai777 · Dec 31, 2014 at 09:56 AM 1
Share

@tanomishi I understand. @Landern I removed Studio and download the SD$$anonymous$$ tools, then ran the Android SD$$anonymous$$ $$anonymous$$anager executable. I'm installing the default items now. Do you know where I might find documentation of which specific packages need to be installed for compiling from Unity?

4 Replies

· Add your reply
  • Sort: 
avatar image
12

Answer by Ivanthebestunitydev · Jan 13, 2015 at 07:13 AM

Had the same problem with link. 1. First of all you should have access to "Library" folder in your mac. Simply run this "chflags nohidden ~/Library/" or more detailed here http://osxdaily.com/2011/07/22/access-user-library-folder-in-os-x-lion/. 2. Now you can use link /Users/YourName/Library/Android/sdk

Hope that helped.

Comment
Add comment · Show 3 · 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 gdbjohnson · Apr 13, 2015 at 10:25 PM 0
Share

Thanks for the chflags command. That was simple.

avatar image isidro02139 · Jun 09, 2015 at 06:00 AM 0
Share

"chflags nohidden ~/Library/" ← This worked for me as well (ran with 'sudo')

avatar image wolfgang-almeder · Jun 24, 2016 at 07:19 AM 0
Share

Thanks man ! also worked for me !

avatar image
4

Answer by chirpytime · Jan 17, 2015 at 08:41 AM

Alternatively (without making any permission changes): 1. Open the folder in finder using Applications/Utilities/Terminal, with command "open /Users/USER_NAME/Library/Android/sdk". 2. Go to Unity -> Preferences ( cmd + , ) -> External Tools -> Android SDK Location and hit the "browse" dropdown. 3. Drag the "sdk" folder from Finder (opened in step 1), into Unity's "Select Android SDK root folder" popup.

Comment
Add comment · 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 gdbjohnson · Apr 13, 2015 at 10:21 PM 0
Share

Is it just me, or is it ridiculous that you need this level of craziness to access the location of the SD$$anonymous$$ for Unity? Why don't they populate it with the default?

avatar image FrankVer · Oct 22, 2017 at 04:30 PM 0
Share

Thank you so much. If you change from iOS to Android, and back again, for some reason this setting disappears. So I keep on checking your solution!!

avatar image
0

Answer by Landern · Dec 31, 2014 at 10:19 AM

@joshrenaud, you can find that information in the Unity Manual and topic Android SDK.

And @tanoshimi is right, we get a LOT of unrelated questions and silly requests, we do need to dial the posts in WAY WAY to often.

Hope you find what you need.

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 itslennysfault · Aug 11, 2017 at 06:52 AM

I hit this problem and none of the other suggestions worked for me. I got frustrated and kinda gave up on it, and decided to just try to build it for Android so I could at least see it on my phone.

I went to File > Build Settings.... Set it to Android and clicked Build and run...

This caused it to try to connect to the android device which helped me debug the connection. First it said it couldn't find the device so I unplugged it and plugged it back in then clicked "Retry". After that it told me my android SDK was out of date, and asked if I wanted to upgrade it automatically. I clicked yes. Then, it detected some other errors in my android settings in Unity. I fixed those. After that, the apk build failed with some weird errors.

However, I thought maybe all those fixes might've fixed the remote so I closed the build dialog and clicked play. Suddenly, remote was working great! Hope this can help someone else.

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

9 People are following this question.

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

Related Questions

Uploading to the Mac App Store? 0 Answers

Cardboard demo not working 2 Answers

Unity does not find android sdk 2 Answers

When launching the app, the screen blacks out on Android 8.0 (API 26) above. 1 Answer

SDK and NDK Tools not downloading, no messages of unresponsive server? 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