How To Install Official Android Emulator (SDK) On Linux

Everybody know Android OS (Opensource) is market leader.

It was developed especially for touchscreen mobile devices like smartphones & tablet.

Initially android was developed by android Inc and later Google acquired and they are doing further development on this.

If you want to run any mobile apps such as WhatsApp in your system, you should have installed any android emulator.

Android SDK is the official android emulator which was developed by Google to emulate the Android App in Linux System.

In this article, we are going to explain, how to install android emulator using android SDK in Linux.

If you are looking for alternative for this, i would suggest you to go with Genymotion (Android Emulator).

Prerequisites

Android SDK depends 32-bit Libraries in run time, so 64-bit user should install 32-bit libraries on system to work properly or else you will be getting an error when you are launching the device.

[Install 32-bit libraries ia32-libs Package]
$ sudo apt-get install ia32-libs

[If you don't have ia32-libs package, then install Alternative Package]
$ sudo apt-get install libgl1-mesa-dev

1) How To Install Java In Linux?

Android SDK purely depends on JAVA. So, you have to install either OpenJDK or Oracle JAVA before proceeding Android SDK installation.

2) How To Verify An Installed JAVA Version In Linux?

Use the below command to check the java version which you have installed on your system.

$ java -version
java version "1.8.0_20"
Java(TM) SE Runtime Environment (build 1.8.0_20-b26)
Java HotSpot(TM) 64-Bit Server VM (build 25.20-b23, mixed mode)

3) How To Download SDK Package?

There is no distribution official package for Android SDK hence, we need to download an Android SDK package from android official site. Make sure you have to download the package in /opt directory because opt directory is dedicated for third party software installation.

$ cd /opt
$ wget http://dl.google.com/android/android-sdk_r24.4.1-linux.tgz
$ sudo tar -zxvf android-sdk_r24.4.1-linux.tgz
$ cd /android-sdk-linux/tools
$ ./android

You will see the below pop-up window when you are run android shell file.
installing-android-emulator-in-linux-5

6) Choose Required Android SDK Version

Here you can choose which version of Android SDK you are going to install. I’m going to choose Android version 2.3.3 and hit Install Packages option to install the required packages from source.
installing-android-emulator-in-linux-6

Choose Accept License option and hit the Install button to proceed further.
installing-android-emulator-in-linux-6a

Installation is on-going. Do the same steps until all packages get installed.
installing-android-emulator-in-linux-6b

Installation got over.
installing-android-emulator-in-linux-6c

Magesh Maruthamuthu

Love to play with all Linux distribution

You may also like...