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).
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
Oracle JAVA before proceeding Android SDK installation.
- How To Install Oracle Java 9 & 8 (JDK) on CentOS, RHEL, Fedora, Arch Linux & openSUSE
- How To Install Oracle Java 7, 8 & 9 (JDK & JRE) on Debian Via Repository
- How to install Oracle Java Series (JAVA 9, JAVA 8, JAVA 7, JAVA 6) via PPA in Ubuntu & Mint
- How To Install JAVA ( OpenJDK ) 6 / 7 / 8 on Linux
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