Opening Android SDK manager on mac

回眸只為那壹抹淺笑 提交于 2020-01-17 01:23:10

问题


Trying to open the android SDK manager on mac, but when I get to the terminal window and go to direct to tools like it says, I don't know what to do.

These are the instructions per the site

Mac/Linux: Open a terminal and navigate to the tools/ directory in the location where the Android SDK was installed, then execute android sdk.

And it's in my downloads. What do I need to type into the terminal to find it?


回答1:


The SDK manager, as you said, is located in the tools directory of the Android SDK in its installed location. So as per your given information it should be like this:

~/Downloads/Android/sdk/tools/

The filename of the SDK manager is an executable named "android", so cd into the directory and run ./android and you should be good to go.




回答2:


For manual SDK, AVD, and project management, please use Android Studio.

Google deprecated the android command.There is a temporary solution that you need to replace it with old one [There are changes in latest android sdk].Using an older version tools is basically a bad idea .

Seems like Google wants workflow to be managed using Android Studio. Perhaps the better solution is to use Android Studio




回答3:


The "android" command is now deprecated.
For manual SDK, AVD, and project management, please use Android Studio.
For command-line tools, use tools/bin/sdkmanager and tools/bin/avdmanager




回答4:


As Android Studio 3, the android command is deprecated. So, developers should use Android SDK which has been provided in Android Studio.

Tools > Android > SDK Manager

or for command-line usage, - on MAC

~/Library/Android/sdk/tools/bin/
  • on Linux

    /Path/To/SDK/tools/bin/

then run sdkmanager.



来源:https://stackoverflow.com/questions/34866430/opening-android-sdk-manager-on-mac

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