Android SDK Installation Folder on OS X

牧云@^-^@ 提交于 2019-12-21 07:24:13

问题


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.



来源:https://stackoverflow.com/questions/8698611/android-sdk-installation-folder-on-os-x

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!