Android SDK 管理器的 GUI 消失了吗?

我很少为 Android 做事情,所以我有点困惑。当时有两种类型的安装—— Android Studio 和 Android SDK。我有创意,所以我不需要工作室。通常我下载的 SDK 都有 UI 工具来下载它的组件。

我刚得到的 https://dl.google.com/android/repository/tools_r25.2.3-linux.zip和我不能看到 UI SDK 管理器在它。有一个 bin/sdkmanager shell 脚本。但是这对我的目的有点不方便,因为通过 --list的输出,复制粘贴包的名称和运行 sdkmanager将花费太多的时间。

现在怎样才能快速安装呢?

另外,我用的是 Ubuntu 16.10,以防万一。

PS2.我刚刚尝试 sdkmanager "platforms;android-25"作为每 文件但它没有给我输出后,我同意的条款。它在哪里安装 SDK 文件?它安装了吗?太神奇了。

87276 次浏览

From the command line, just type

tools/android sdk

and the usual GUI for the Android SDK will be prompted.

Hope this helps

Looks like I'm not the only one who had to deal with this idiocy. The way to install it

  1. Unpack zip to some /parent folder so it has /parent/tools. I extracted content of zip's tools to /androidsdk and it was mistake. Script couldn't find it.
  2. Set ANDROID_HOME to /parent folder.
  3. Run /parent/tools/android sdk to see SDK Manager's GUI.

Google, was it hard to leave script that does the above in installation zip so people don't need to waste 40 minutes googling around ?

Since Android released build tools 25.3.0, they removed android CLI command and replaced it with avdmanager and sdkmanager located inside your $ANDROID_HOME/bin/tools

Run this command to get a list of available packages in sdk-style path: sdkmanager --list

Run this command to install a specific image: sdkmanager --verbose "system-images;android-19;google_apis;x86"

In the tools directory search for ' android.bat ' file and run it , GUI for SDK manager will open .

Late to the party, but you can download v24.4 installer like the good old day here. It will update itself to v25.x and everything works as expected. Also a big ef'u Google.

Update 2021-07 : This tool does not offer build tools version >= 30 and won't show newer packages anymore

If You have Android Studio, you can point your sdk manager in Android Studio to where you just installed your SDK. You can manage it from there. That's what I had to do. The command line was so tough for me as I didn't get the full package names when running sdkmanager --list command

Officially GUI is gone, but pleasant people saved the last of it for us: installer_r24.4.1-windows.exe

According for this announcment Google doesn't intend to support ADT pluging for Eclipse since June 2015, and so as GUI for ADT at all. They explain the decision with an entire switching to Android Studio. There are no links on official Android sources where to download last GUI version, because they find it as having potential security bugs.

So you have chance to download the last saved version, till the link will not be changed. If it already happened try to search by tag.

Thank to Losin' Me for links:

Found on web.archive.org

Here is the link for download android sdk with GUI for windows, linux and mac:

Uncompressing and put the folder named tools inside androidsdk directory, search for android.bat: it's open GUI in windows.

Download packages and develop apps.

For using with Xamarin, The official Xamarin SDK Manager is now available for Visual Studio 2017 and above. It can be installed from under "Cross Platform Mobile" workload in the Visual Studio Installer. It replaces Google's standalone SDK Manager (which was deprecated in version 25.2.3 of the Android SDK Tools package).

I am sorry for bumping a necropost. But I have just released a simple Android SDK GUI. Maybe this little weekend project could save some people from headache of using sdkmanager command line or downloading android-tools twice.

You could check my project at AndroidGUI.

Fork as you please or better yet send me PR. Any help would be very much appreciated.

PS: It would be very useful if somebody could point me to the latest sdklib-*.jar source code. So that I could interface with Android SDK directly.

For all Windows users: I just made a "porting" of the old GUI executables...

although porting is a big word, I just changed the executable so it would read andoid_gui.bat instead of android.bat, and added that file and some required libs (although I think only archquery.jar is needed, I also put sdkmanager.jar, sdkstats.jar and sdkuilib.jar; it seems to work even without them so let me know if they are not needed)

Just extract it in the SDK directory

Download here