简体   繁体   中英

Can't Open Android SDK Manager using `android` Command on Terminal

I'm unable to open the Android SDK Manager using the android command on terminal.

I am following https://facebook.github.io/react-native/docs/getting-started.html

And I download and installed Android Studio and Installed HAXM and AVD with the given steps.

Now I need to

  1. Install the Android 6.0 (Marshmallow) SDK

However, I am not seeing the same screen as the documentation when accessing the SDK manager via Android studio.

"The SDK Manager can also be found within the Android Studio "Preferences" menu, under Appearance & Behavior → System Settings → Android SDK."

So I am using the Android command on terminal to open the SDK Manager; however, I'm receiving the following error.

/usr/local/bin/android: line 3: /usr/local/Cellar/android-sdk/24.3.4/tools/android: No such file or directory
/usr/local/bin/android: line 3: exec: /usr/local/Cellar/android-sdk/24.3.4/tools/android: cannot execute: No such file or directory

I'm curious as to why is this happening. How can it be resolved?

确保在每个屏幕中都选择了“显示软件包详细信息”

insure that show Package Details is selected in every screen

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM