Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android SDK path on Mac missing

Currently running Android Studio 2.1.2 on Mac OS X El Capitan. I'm trying to locate the path of the Android SDK; when I go to File -> Project Structure to check the Android SDK location, I get the following:

/Users/username/Library/Android/sdk

However, I can't find this folder on my system, there's no 'Library' folder under my user directory? I also tried showing hidden files but that didn't help. I'm pretty new to Android development so any help would be appreciated, thanks.

like image 930
green.mango Avatar asked Aug 11 '16 20:08

green.mango


2 Answers

DON'T PANIC

You can find it by doing some simple steps.
In the beginning you have to make hidden files visible on your Mac(because SDK folder located in another folder which is hidden) to do this, you have to open Terminal and simply copy and paste this line in there and press Enter:

defaults write com.apple.finder AppleShowAllFiles YES

Like this picture:

How to insert this line in Terminal

We use this to make your hidden files visible. Don't worry!!! you can UNDO this just by writing "NO" instead of "YES"

Ok we almost there! keep up the good job 😊 This step is about to finding the SDK folder and is not difficult! The Library folder located in the current user directory, like this picture:

enter image description here

Sometimes Library folder stays still hidden or hidden files remains permanently visible, so use these keys together to make them hidden or visible:

SHIFT + CMD + .

Then you will see the windows refreshed and you see the Library folder like so:

enter image description here

Hope you find this useful, otherwise just ask your question in the comments :)

like image 112
Ali.Ghodrat Avatar answered Sep 27 '22 17:09

Ali.Ghodrat


Library is a hidden folder. If you open Finder and click the Go menu and hold the Option key you'll see it there.

like image 24
CaseyB Avatar answered Sep 27 '22 17:09

CaseyB