Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to install the GUI android SDK manager without installing Android Studio

Tags:

Note that this question Is GUI for Android SDK manager gone? has been answered with a solution that was correct in the past, but no longer addresses the problem.

In the past, I have run IntelliJ Idea to develop Android projects, and the GUI SDK manager was available. Returning to Android development I now find https://developer.android.com/studio/index.html only offers a command-line stand-alone SDK manager.

How can I install the GUI SDK manager? I am considering installing Android Studio just to get it and then maybe uninstall Android Studio and retain the SDK manager. I suspect I might have the same problems with AVDs.

Specifically with solutions offered elsewhere:

  1. There is no .../tools/android
  2. .../tools/android.bat only offers command-line options
  3. .../tools/bin/sdkmanager.bat only offers command-line options
like image 700
Steve Waring Avatar asked Apr 28 '17 16:04

Steve Waring


People also ask

Can we install android emulator without Android Studio?

This is the step-by-step note that answering the question: How to install and launch Android emulator without installing Android Studio itself. Set JAVA_HOME variable. or use Start -> Edit the system environment variables -> Environment variables...

How do I get to Android SDK Manager?

To open the SDK Manager from Android Studio, click Tools > SDK Manager or click SDK Manager in the toolbar. If you're not using Android Studio, you can download tools using the sdkmanager command-line tool. When an update is available for a package you already have, a dash appears in the check box next to the package.


2 Answers

#Android SDK GUI is here to stay

I am glad to inform the community that there is still a fully functional workaround to use the Android SDK whilst utilising the traditional GUI that most users are accustomed to. I am pleased to say that the GUI is here to stay (despite having been officially cut off sometime in SDK 26)

If you are starting from scratch I suggest you go through this post first: How do I download the Android SDK without downloading Android Studio?

Here the most important thing is that you must first install the base packages (i.e sdk tools, platform-tools, GUI sdk and AVD manager etc) found in the last installer version of SDK if you are starting form scratch, otherwise you can skip this step if you already a working sdk installation.

I discovered that even if you update the "SDK tools", the latest version that you can get is always 25.x.x which has problem on its own as it doesn't allow you to run API levels 26, 27 or 28, as I pointed out in my post on another site: Can't start Android 8.0 Oreo on emulator: “Decryption unsuccessful”

After some weeks of investigation I figured out, this was something to do the outdated emulator which is no longer provided unless you running Android Studio (which is contrary to what we want to achieve)

From the looks of things it seems the emulator (originally distributed as part of the Android SDK Tools) is no longer updated since version 25.2.3

Thus the workaround involves a "manual/forced upgrade" of emulator tools. Currently I successfully upgraded to version 27.3.8 (and running Android 9 smoothly).

The workaround

To shorten the story, firstly make sure the base packages are still intact, and upgrade the emulator as follows:

Instructions

  • Download the latest (or suitable emulator) from the links supplied below
  • When done, decompress the downloaded emulator.zip file and extract the emulator package to %USERPROFILE%\Android\android-sdk\tools or relevant path (yes you have to merge it into that folder, since the emulator doesn't have all libraries and files)
  • After this your emulator will be updated (to 27.3.8 in my case):

enter image description here

Android SDK manager (GUI)

Now prepare your AVD (API level 27 or 28);

  • Click on the AVD manager executable to bring the AVD setup dialog box.
  • Choose the required parameters of the AVD and click ok to create.

enter image description here

Android AVD manager

Run the newly created virtual devices and you should be good to go:

  • Select the virtual device and click start;

enter image description here

enter image description hereenter image description here

#Be sure to update the relevant tools, images etc to get the best experience


Important links

Base and Emulator tools(zip)

  1. Android SDK base installer (offline windows)
  2. Linux installer (can use wget also)
  3. Emulator version 27.3.8 (linux latest)
  4. Emulator version 27.3.8 (windows latest)
  5. Emulator 27.3.8 (mac os latest)
  6. Emulator version 26.1.4 (windows)
  7. Emulator version 26.1.4 (linux)
  8. Emulator version 27.1.10 (mac os)

Update: Added latest emulator versions

  • Emulator version 28.0.22 (latest linux os latest)

  • Emulator version 28.0.22 (windows os latest)

  • Emulator version 28.0.22(mac os latest)

Update 2: Newer emulator versions

  • Emulator version 30.1.5 (latest linux os latest)

  • Emulator version 30.1.5 (windows os latest)

  • Emulator version 30.1.5(mac os latest)

Special thanks to androiddev for providing links for linux, eaglemt and Vladyslav Panchenko for providing the links to repos and mostly important for mac os links.


Conclusion

It seems Google intentionally decide to pull the plug on GUI for standalone Android SDK in favour of Android studio perhaps because of potential security bugs, but whatever the reason,it may not sound convincing for someone just needing the standalone package...

Another way to explain all of this a bit simpler -->

like image 87
xavier_fakerat Avatar answered Oct 03 '22 05:10

xavier_fakerat


It seems like the GUI is completely gone now. Atleast from SDK v26, the SDK Manager GUI is only accessible through Android Studio. The SDK Manager button on Visual Studio has become irresponsive. Now we'll probably have to install Android Studio just to manage and update the SDKs and Emulators

Google's another dreadful act for promoting its own IDE.

UPDATE :

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). To start the SDK Manager in Visual Studio, click Tools > Android > Android SDK Manager

For VS2015 and older, we recommend downgrading SDK Tools to 25 and using the old Google Emulator manager GUI. SDK tools 25 can still be used alongside API 26, 27, and newer, and won't impact development for new platforms. This will give you an interface for managing your Android SDK for older versions of VS.

like image 26
Divins Mathew Avatar answered Oct 03 '22 04:10

Divins Mathew