How to install Android emulator in Ubuntu 16.04
To install Android emulator in Ubuntu 16.04
Android SDK is the official android emulator developed by Google and it provides the API libraries and developer tools necessary to build, test, and debug apps for Android in Linux System. You can also install Android Emulator through Genymotion Android Emulator which is the alternative to Android emulator. It is really so simple to install Android SDK on Ubuntu 16.04, and this article covers the ground on the same process.
Installing Android Emulator
For installing Android emulator, you need to have install java installed in your system. You should also install the needed dependency packages before installing the android emulator. Run the following commands for installing the dependencies.
root@linuxhelp11:/home/user1# apt-get install libgl1-mesa-dev Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no l &hellip &hellip &hellip Setting up x11proto-dri2-dev (2.8-2) ... Setting up x11proto-gl-dev (1.4.17-1) ... Setting up libgl1-mesa-dev:amd64 (17.0.7-0ubuntu0.16.04.2) ... Processing triggers for libc-bin (2.23-0ubuntu3) ...
Next, you need to download the android emulator package, and for that you need to run the following command.
root@linuxhelp11:/home/user1# wget http://dl.google.com/android/android-sdk_r24.4.1-linux.tgz --2017-12-22 17:28:42-- http://dl.google.com/android/android-sdk_r24.4.1-linux.tgz Resolving dl.google.com (dl.google.com)... 18.104.22.168, 2404:6800:4007:807::200e Connecting to dl.google.com (dl.google.com)|22.214.171.124|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 326412652 (311M) [application/x-tar] Saving to: ‘ android-sdk_r24.4.1-linux.tgz’ android-sdk_r24.4.1-linux 100%[==================================> ] 311.29M 608KB/s in 10m 5s 2017-12-22 17:38:47 (527 KB/s) - ‘ android-sdk_r24.4.1-linux.tgz’ saved [326412652/326412652]
After that, you should extract the downloaded package by making use of the following command.
root@linuxhelp11:/home/user1# tar -xvf android-sdk_r24.4.1-linux.tgz android-sdk-linux/ android-sdk-linux/tools/ android-sdk-linux/tools/emulator-x86 android-sdk-linux/tools/source.properties &hellip &hellip . &hellip android-sdk-linux/tools/apps/SdkController/res/values-v11/styles_v11.xml android-sdk-linux/platforms/ android-sdk-linux/SDK Readme.txt android-sdk-linux/add-ons/
Later, change the directory to /android-sdk-linux/tools/ and execute the android file by running the following command to open the Android SDK manager.
< ads 1>
After that, Android SDK manager opens as follows.
You can check out the Android SDKs for different versions.
Also, you can check the list of existing Android Virtual Devices from the AVD manager. If there isn' t any device, you can create one.
Also, the same way, you can check the list of Device definitions.
You can also check the Proxy settings.
< ads 2>
If you want to know more information on Android emulator, you can see its about section.
With this, the installation of Android SDK comes to an end.