How to Install official Android Emulator (SDK) on Linux
Everybody knows Android OS (Opensource) is market leader and it is developed especially for touchscreen mobile devices like smartphones & tablet.
Initially android was developed by android Inc and later Google acquired and currently google doing further development. If you want to run any mobile app such as WhatsApp in your system, you should install the android emulator.
Android SDK is the official android emulator which is developed by Google to emulate the Android App in Linux System. In this article i’m going to explain how to install android emulator using android SDK in Linux.
Alternatively you can install Android Emulator through Genymotion (Android Emulator).
How to Install Genymotion (Android Emulator) on Linux
Prerequisites
Android SDK refers/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 get error when you 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) Java installation
Android SDK purely depends on JAVA. I advise you to install OpenJDK or Oracle JAVA before proceeding Android SDK installation.
Install OpenJDK or Oracle JAVA on Linux
2) Verifying JAVA Version
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) Download SDK Package
Download the Android SDK Package Archive from android official site. Make sure you have to download the archive into /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 hitting android.

