_ap_ufes{"success":true,"siteUrl":"techapple.net","urls":{"Home":"http://techapple.net","Category":"http://techapple.net/category/mobileno/plans-news/airtel/","Archive":"http://techapple.net/2018/10/","Post":"http://techapple.net/2018/10/boom-ios-music-player-best-surround-sound-iphone-ipad/","Page":"http://techapple.net/","Attachment":"http://techapple.net/2018/10/boom-ios-music-player-best-surround-sound-iphone-ipad/word-image-96/","Nav_menu_item":"http://techapple.net/2018/08/69910/","Custom_css":"http://techapple.net/2018/06/newspaper/","Oembed_cache":"http://techapple.net/2018/08/e1a27fbe4b420f15c82f221e5169dcb1/","Social-site":"http://techapple.net/cpt-social-site/167/","Special-content":"http://techapple.net/cpt-special-content/special-content-one/"}}_ap_ufee
LOADING

Type to search

Android Arena

Run/Install Official Android SDK Emulator on Linux Ubuntu/LinuxMint

Share
Android SDK is the official android emulator by Google., Most of the guys might want to install this official Android SDK emulator on their machines. SO here’s a tutorial for the same , As Android SDK requires the JDK (Java Development Kit) to be installed on the machine,so in this tutorial, I’m going to be use the openJDK version of Java for installing the Official Android SDK emulator .Procedure to install official Android SDK Emulator-

  • To get started, press Ctrl – Alt – T or Open the terminal from the unity button.
  •  When it opens, the commands below to install OpenJDK.
sudo apt-get install openjdk-6-jre openjdk-6-jdk icedtea6-plugin

 

android_precise

 

  • Now, download AndroidSDK package by running the commands below. At the time of writing this post, the current version was r20. Or click this link to download the .tgz archive file.
wget http://dl.google.com/android/android-sdk_r20-linux.tgz

 

android_precise_1

 

  • After the download has finished,execute the commands below to extract the downloaded file.
tar -xvzf android-sdk_r20-linux.tgz

 

android_precise_2

 

  • After extracting the package, run the command below to change into the tools directory.
cd ~/android-sdk-linux/tools

 

android_precise_3

 

  • After the execution of previous command, run the commands below to begin the installation.
./android

 

android_precise_4

 

  • Install Android updates if there are any available.

 

android_precise_5

 

  • After updating, run the commands below to include AndroidSDK in your path environment.
gedit ~/.bashrc

 

Then add these lines at the very top of the file and save it.

 

export PATH=${PATH}:~/android-sdk-linux/tools

export PATH=${PATH}:~/android-sdk-linux/platform-tools

 

android_precise_6

 

 

Log out and log back in, then type android on the command line to launch the software.

android avd

 

Build your own phone. and Enjoy your own Official Android emulation!

 

android_precise_7

 

29 Comments

  1. Jet Brown August 2, 2014

    does this work on lubuntu

    Reply
    1. Chaitanya August 3, 2014

      Sure, it will work on lubuntu too, 🙂

  2. Manikandan August 26, 2014

    for kali-linux???

    Reply
    1. Chaitanya August 27, 2014

      I haven’t yet tried on kali-linux yet 🙁

  3. Dejvi Zelo August 30, 2014

    Please help , at the last step when I open Android Virtual Device Manager and when I try to create a new device I’m not able to select target , but the program won’t let me create a device without selecting a target first 🙁 I would appreciate it if someone would help me.

    Reply
  4. Yassine Kassimi September 3, 2014

    where i can download the android ? i mean the avd file ? ( target name )

    Reply
    1. Chaitanya September 3, 2014

      Hi Yassine, you canget it from this link – > http://developer.android.com/tools/help/emulator.html

  5. Mark Burgoyne September 21, 2014

    same for me
    Please help , at the last step when I open Android Virtual Device Manager and when I try to create a new device I’m not able to select target , but the program won’t let me create a device without selecting a target first 🙁 I would appreciate it if someone would help me.

    Reply
    1. Neb August 5, 2015

      Same here. Not sure why nobody helped us yet…

    2. Christian November 27, 2016

      Having same issue. When running android avd in the terminal I get back “Gtk-Message: Failed to load module “unity-gtk-module”

  6. takebytakestudios October 2, 2014

    Hi, thank you for the instructions, they are very helpful, however I ran into a problem when I ran the “./android” command that was supposed to install it, this script came up:
    (precise)[email protected]:~$ cd ~/android-sdk-linux/tools
    (precise)[email protected]:~/android-sdk-linux/tools$ ./android
    SWT folder ‘/home/agent/android-sdk-linux/tools/lib/arm’ does not exist.
    Please export ANDROID_SWT to point to the folder containing swt.jar for your platform.

    What should I do to fix this?

    Thanks!

    Reply
    1. Chaitanya October 2, 2014

      You’re welcome, in order to provide further assistance can you please tell your distro version?

  7. Dave February 6, 2015

    I get command not found when I try android avd from the terminal in ubuntu. What the heck am I missing. I’m in the tools directory.

    Reply
    1. Chaitanya February 6, 2015

      Hello Dave, can you tell the ubuntu version which you’re using ?

  8. Mike April 6, 2015

    I’m running linux 14.04 and can not figure out step 5, it refuses to save the file after adding the line at the top, more confusing yet its acting like a brand new file, its empty. perhaps I need to be in a specific folder when running the gedit command. it would also be helpful to clarify where to put the begining of the path because the main folder is hiding under my home folder.

    As a side note the – don’t seem to be needed but know I’m just being extra picky but maybe it will help someone else here.

    Reply
  9. Just Some Guy July 3, 2015

    ^ Same problem as Mike here I think.

    $ android avd
    android: command not found

    Reply
    1. Macr September 4, 2015

      Linux Mint 17 as well

  10. Loch Ludwig (sailorloch) January 24, 2016

    When i try to add a device it wont let me select a target, i cant add a device if i have no target.

    Reply
  11. asdasd March 29, 2016

    In step 5 say: log off and log in then type androidavd

    Reply
  12. rajeev July 12, 2016

    i am not able to launch android adv of step 7

    Reply
  13. Bariq Dharmawan October 10, 2016

    when i run command ./android ,it say “./android: java: not found

    Reply
  14. JadeTehQueen January 9, 2017

    I can’t select a target

    Reply
  15. nikhil February 11, 2017
    Reply
  16. Kodea April 1, 2017

    How can I make a desktop entry or where is a shortcut of the programm?

    Reply
  17. Zach Jones June 22, 2017

    When I tried running ./android I got this as the result
    ./android
    SWT folder ‘/home/pi/android-sdk-linux/tools/lib/arm’ does not exist.
    Please export ANDROID_SWT to point to the folder containing swt.jar for your platform.
    I am using raspbian on the raspberry pi, and I have oracle java 9 console installed, what can I do to help this?

    Reply

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: