106

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.

7
  • Try Android > SDK Manager > Launch Standalone SDK Manager.
    – Enzokie
    Dec 31, 2016 at 10:27
  • It's not a real solution but what I can say is that on Windows I have a SDK Manager.exe in the root of the android-sdk directory. If that helps (probably not). In case you are right, did you try to download a less recent version?
    – Beppi's
    Dec 31, 2016 at 10:27
  • @Enzokie I guess it's something in Android Studio ? I have standard IDEA with Android plugin thus there is no such menu option. Or at least I don't see it :)
    – expert
    Dec 31, 2016 at 10:30
  • 21
    With android sdk v26 the GUI is completely gone. It is only accessible from android studio. Too bad Google aggressively promoting android studio.
    – Bharat G
    Apr 3, 2017 at 19:25
  • Alternative SDK manager is available here: stackoverflow.com/a/44244605/971547
    – Erel
    May 30, 2017 at 8:18

11 Answers 11

64

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 ?

13
  • 2
    Didn't understand this solution. Is the sdkmanager.exe gone or is just a "bug" in the installation? Mar 22, 2017 at 1:13
  • 37
    Now, android sdk prints out Invalid or unsupported command "sdk" Jun 2, 2017 at 16:29
  • 10
    The "android" command is deprecated. For manual SDK, AVD, and project management, please use Android Studio.
    – Miha_x64
    Jun 22, 2017 at 13:24
  • 33
    What the frick. I don't care about or need Android Studio. This is ridiculous.
    – Ray
    Sep 20, 2017 at 17:39
  • 6
    I think this answer is obsolete now. it doesn't work with current sdk
    – Aman Gupta
    Oct 4, 2017 at 6:15
58

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

7
26

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

3
  • 4
    Note the OP was using Ubuntu and this is a Windows link - but it was what I needed so I upvoted.
    – Milton
    Jun 1, 2017 at 17:58
  • I have version 25.5 :)
    – andreszs
    Sep 24, 2017 at 18:38
  • @andreszs If you want you can still use the latest version i.e 27.3.8 with GUI support Jul 19, 2018 at 19:04
11

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"

3
  • 3
    To put it simple, your answer is "Yes, GUI is gone?". This is terrible to install all this stuff via CLI...
    – RAM237
    Aug 25, 2017 at 12:59
  • 2
    Unfortunately, yes.
    – solidak
    Aug 31, 2017 at 9:09
  • @RAM237 I am proud to say the GUI is here to stay see: stackoverflow.com/a/51429889/7551330 Jul 19, 2018 at 19:06
8

From the command line, just type

tools/android sdk

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

Hope this helps

9
  • 1
    @expert this looks like the answer you need. I tried it in Ubuntu.
    – Enzokie
    Dec 31, 2016 at 10:39
  • @Enzokie Looks like something is still missing. I see jar in question in lib folder but I'm hesitant to read bash 3.5Kb script to find out where Google made mistake.
    – expert
    Dec 31, 2016 at 10:40
  • 1
    @expert maybe you need to set the environment variable. The ./android sdk is working in my case assuming the I cd to the correct folder.
    – Enzokie
    Dec 31, 2016 at 10:41
  • @Enzokie Which environment variable ? Where in documentation can I read that ?
    – expert
    Dec 31, 2016 at 10:42
  • 4
    This no longer works either. "Invalid or unsupported command "sdk" and "The 'android' command is deprecated. For manual SDK, AVD, and project management, please use Android Studio. Thans Obama.
    – Nilzor
    Sep 30, 2017 at 8:09
5

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

3
  • 1
    This saved me, instructions all over the web are outdated, and expect you to be able to open the gui from the command line. This was the easiest solution by far-
    – chrismarx
    Jun 15, 2017 at 19:00
  • 3
    that sucks. I liked the stand alone GUI.
    – Martin
    Jul 20, 2017 at 7:14
  • 1
    Google just decided to follow Apple's policy: don't let the developers relax and focus on development, we need to do something so that they spend most of their time configuring our stuff }:-[
    – RAM237
    Aug 25, 2017 at 13:08
2

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.

2

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

2

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.

1

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

5
  • 8
    I've tried this and no GUI opens. I get a message saying the "android" command is deprecated and to use the tools\bin\sdkmanager.bat and avdmanager.bat files which do not give you a GUI.
    – m.e.conroy
    Apr 28, 2017 at 14:36
  • 9
    I guess they're trying to force people to download the Android Studio IDE, because I think that's my only solution, I don't have time to deal with the commandline for selecting and installing android images. Something that used to be easy was just made 10 times more difficult and annoying.
    – m.e.conroy
    Apr 28, 2017 at 14:39
  • That how it worked last week. Not any more. Not having a stand alone GUI sucks.
    – Martin
    Jul 20, 2017 at 7:16
  • 2
    It's a very cheap trick to force users install Android Studio when it's completely unneeded.
    – andreszs
    Sep 24, 2017 at 18:40
  • They asked for Linux. Mar 21, 2020 at 23:14
0

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.