Android SDK Installation Folder on OS X

2019-04-04 00:35发布

问题:

Any best practices/recommendations on the installation folder for the Android SDK? Following http://developer.android.com/sdk/installing.html on OS X and Step 2. "...unpack it to a safe location on your machine..." makes no sense at all for me coming from Windows.

回答1:

/Applications is the most natural place. Maybe /usr/local for the old Unix folks.



回答2:

I install it using Android Studio and i found it here: /Users/username/Library/Android/sdk



回答3:

Check here too /usr/local/Cellar/android-sdk/



回答4:

4/1/16

I also found it in the gradle properties of my project:

  1. Expand Project
  2. local.properties for gradle SDK
  3. Even tells you location of SDK with path, time stamp and location



回答5:

If you have access to the Android SDK Manager you can look at the top of the window.



回答6:

MacOs Android Studio

Just create a blank project. Go the project explore panel and open the local.properties file. You can find the SDK path as below.

sdk.dir=/Users/{USER}/Library/Android/sdk



回答7:

It could be any location on your Mac. Preferable where you have Read,Write and Execute Access. Please note this is just a starter kit. Android SDK Manager would add packages depending on the platforms you need.