Is GUI for Android SDK manager gone?

爷,独闯天下 提交于 2019-12-27 16:38:07

问题


I rarely do something for Android so I'm a bit confused. While back there were two type of installations - Android Studio and just Android SDK. I have IDEA so I don't need Studio. Typically I download SDK that have UI tool to download its components.

I just got https://dl.google.com/android/repository/tools_r25.2.3-linux.zip and I can't see UI SDK Manager in it. There is bin/sdkmanager shell script. But it's kinda inconvenient for my purpose because going through output of --list, copy-pasting packages names and running sdkmanager would take too much time.

What's the way of installing this quickly now ?

PS. I'm on Ubuntu 16.10 in case it matters.

PS2. I just tried sdkmanager "platforms;android-25" as per documentation but it gave no output after me agreeing to terms. Where did it install SDK files? Did it even install it? Amazing.


回答1:


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 ?




回答2:


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:

  • Windows (No installer): dl.google.com/android/android-sdk_r24.4.1-windows.zip
  • Mac OS X: dl.google.com/android/android-sdk_r24.4.1-macosx.zip
  • Linux: dl.google.com/android/android-sdk_r24.4.1-linux.tgz

Found on web.archive.org




回答3:


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.




回答4:


From the command line, just type

tools/android sdk

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

Hope this helps




回答5:


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"




回答6:


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




回答7:


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.




回答8:


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).




回答9:


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.




回答10:


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



来源:https://stackoverflow.com/questions/41407396/is-gui-for-android-sdk-manager-gone

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