May 03, 2018 Installing Android Studio IDE in Ubuntu – CNX Software Google I/O started yesterday, and Google released an early access preview version of Android Studio, a new IDE based on IntelliJ IDEA with drag-and-drop GUI layout editor, Gradle-based build system, Lint tools, the ability to preview how apps look on different screen sizes, and more.
This is a working guide to get Android Studio up and runnning on Ubuntu. Android Studio is provided for free by Google and powered by the IntelliJ Platform. Use of Eclipse for Android development has since been deprecated.
TOC
Install Java
Android Studio requires JRE 6 and Oracle JDK 7 (not OpenJDK) to function properly. Absence of JRE 6 will prevent it from starting. Absence of Oracle JDK 7 will prompt stability warnings.
Check the version(s) of Java you have.
If the result contains these:
you have what you need and you can skip to the next section. Else, continue to install Java
Update the package index.
Install JDK 6.
Install Oracle JDK 7. The Oracle JDK is the official JDK; however, it is no longer provided by Oracle as a default installation for Ubuntu.
Check that you have everything with
and you should see at least:
Install Android Studio
You have two options.
(1) Getting the package from Google
Go to the Android Developers site and download the full package (not just the SDK) into a directory of your choosing.
Unpack/Extract the ZIP file into the selected directory. Navigate to android-studio/bin/ in Terminal and run Android Studio
(2) Installing with apt-get
Provided by Paolo Rotolo
Student Developers should consult their supervisor before adding third-party repositories
If no prompt pops up, go to 'usr/share/applications' to find the .desktop and run the app. Right click on the icon on the desktop sidebar and 'Lock to Launcher'.
First-time Prompts
- Complete Installation I do not have..Unless you do.
- Android Setup Wizard
- Install Type Standard
- Emulator Settings (We'll deal with this in the next steps)
- License Agreement Accept android-sdk-license and Finish
Your Sdk folder will be in 'home/Android'
Update your Android Studio
- Go to Configure > Settings > Updates OR File > Settings > Updates
- Check 'Check for updates in channel'
- Set the channel to Stable Channel unless you're feeling adventurous.
- Check Now
Install the SDKs

Go to Configure > SDK Manager OR Tools > Android > SDK Manager
Install these packages:
Revisions are latest at the time of writing. Let's just say you'll take the latest of these or something similar.- Tools
- Android SDK Tools [Rev 24.1.2]
- Android SDK Tools Platform-tools [Rev 22]
- Android SDK Build-tools [Rev 21.1.2]
- Android SDK Build-tools [Rev 19.1]
- Android SDK Build-tools [Rev 19.0.3]
- Android 5.1
- Documentation for Android SDK [API 22, Rev 1] --useful to have
- SDK Platform [API 22, Rev 1]
- Google APIs [API 22]
- Google APIs Intel x86 Atom_64 System Image [API 22, Rev 1]
- Google APIs Intel x86 Atom System Image [API 22, Rev 1]
- Android 5.0.1 (API 21)
- SDK Platform [API 21, Rev 2]
- Google APIs [API 21, Rev 1]
- Google APIs Intel x86 Atom_64 System Image [API 21, Rev 4]
- Google APIs Intel x86 Atom System Image [API 21, Rev 4]
- Android 4.4.2 (API 19) --for Android KitKat minimum support
- SDK Platform [API 19, Rev 4]
- Google APIs (x86 System Image)
- Android 4.1.2 (API 16) --for Android JellyBean minimum support
- SDK Platform [API 16, Rev 5]
- Google APIs [API 16, Rev 3]
- Extras
- Android Support Repository [Rev 12]
- Android Support Library [Rev 22]
- Google Play Services [Rev 23]
- Google Repository [Rev 16]
Accept the agreements by selecting the top level paths.
- Tools
Install Intel's KVM for Better AVD Performance
The Android Virtual Device (AVD) lets you test the app on the computer instead of using your own device. 8GB of RAM seems to work well. This setup guide (based on Intel's) is mainly to make the AVD work fast and smooth using hardware virtualization.
Check if your processor supports hardware virtualization in Terminal:
Output 0 means no (sadface). If this is the case, you may prefer to use an actual Android device for testing. And you can skip the next steps of AVD.
Install cpu-checker
Check if your cpu supports kvm
If you see:
it means you can run your virtual machine faster with the KVM extensions. (Yeay)
But if you see
then you need to go to the BIOS Setup and enable VT.
Enabling VT (done with HP Compaq 8200)
- Restart the computer.
- Enter the BIOS Setup (Computer Setup in HP) by spamming F10 on startup.
- In Setup, go to Security > System Security.
- Enable these:
- Save changes and exit.
Install the KVM
You may ignore the Postfix Configuration prompt by selecting 'No Configuration'.
Add your local user account to the group kvm and libvirtd.
After the installation, you need to relogin so that your user account becomes an effective member of kvm and libvirtd user groups. The members of this group can run virtual machines.
Verify installation in Terminal:
If you see:
installation was a success! Just a little bit more.
Add the emulator command line options.
In Android Studio, go to Run > Edit Configurations.
To set as global default for all projects, select 'Android Application' under 'Defaults'.
Go to the emulator tab, check 'Additional command line options' and add:
Create Your AVD
In Android Studio, go to Tools > Android > AVD Manager.
Click on 'Create Virtual Device'.
Choose a Phone (Nexus devices are pretty standard).
Choose a System Image. Lollipop (API 22) is the latest at the time of typing. The target should be 'Google APIs (Google Inc.)..' for our app to function with Google Maps.
In AVD (Verify Configuration),
- Check 'Use Host GPU'.
- Show Advanced Settings and make sure RAM is more than 1024 (but max at 1024 if your OS is 32-bit).
Finish. This shouldn't take too long..
Start up your AVD using Terminal. Navigate to your Android 'Sdk/tools' folder (usually in ~/Android). Put in the path to your 'Sdk/tools/lib' folder for 'LD_LIBRARY_PATH' below:
For those with a 32-Bit system, modify the command to below:
'Nexus_5_API_21' is a sample name for the AVD created. Replace it with your AVD's name replacing spaces with underscores.
It shouldn't take more than a minute to start up. If the screen goes all gibberish, just swipe up (Android Lollipop unlock gesture) and the home screen should appear before you.
How to update Android Studio in Ubuntu ? – Ask Ubuntu
How to update Android Studio in Ubuntu?. To keep your existing Android Studio settings download and install the latest version into a different folder.
Download « Ubuntu Studio
Ubuntu Studio – The official website of Ubuntu Studio
2 Ways to Install Android Studio in Ubuntu 16.04 and Ubuntu.
This tutorial shows you how to install Android Studio in Ubuntu 16.04, Ubuntu 17.04 using two methods: PPA and Ubuntu make. Both methods works in terminal.
How to install Android Studio in Ubuntu 16.04 – Quora
Android Studio is complex software from Google for Android developers to build android apps for phone, tablet, wearables, glasses, TV and android things. So, let us see how to install and use android studio on Ubuntu 16.04 machine.
How to run Android Studio in Ubuntu – Quora
I have recently installed Android Studio on my Ubuntu 15.10 and I would like to tell you the procedure in simple terms: 0. Install JDK from oracle and install it, you can also go for openJDK.
How to install Android Studio in Ubuntu Linux (14.04 LTS or.
Jan 13, 2016. how to install android studio in windows 7 android studio download. How to install Android Studio in Ubuntu 14.04.1 LTS – Duration: 7:26.
How to install Android Studio on Ubuntu 16.04 /15.04 / 14.04.
Aug 25, 2016. How to install Android Studio on Ubuntu 16.04 /15.04 / 14.04 This Video tutorial is for absolute beginners of Linux OS. And it will show the complete step by…
How to install and setup Android Studio in Ubuntu – HowSolve
Unlike Windows, the Android Studio version of Linux based OS aren’t an automatic installer that will setup all for you, so
How to install Android Studio in Ubuntu Linux 13.10 64-bit.
How to install Android Studio in Ubuntu Linux 13. Still it needs some tweaks to install on recent version of Ubuntu 13. Download Android Studio from Android.
Install Android Studio In Ubuntu Via PPA – Web Upd8: Ubuntu.
Google provides Android Studio for Linux as a simple archive which you must download, extract, create your own launcher and so on. To makes things easier, +Paolo Rotolo has created a PPA for Android Studio, so it’s easier to install in Ubuntu and derivatives (Linux Mint, elementary OS and so on).
AndroidSDK – Community Help Wiki – Ubuntu
Jul 27, 2012. This guide also contains instructions on how to set up the Android SDK on Ubuntu 10.04 onwards. This will download and install the OpenJDK.
linux – How to install Android SDK on Ubuntu ? – Stack Overflow
How to install Android SDK on Ubuntu?. Download the Android Studio. Extract downloaded .zip file. The extracted folder name will read somewhat like android-studio.
How to Install Android Studio on Linux ( Ubuntu / Mint.
Android Studio as we all know is used to develop a variety of Apps for the most famous Mobile plateform ANDROID. Because it is available via PPA, installing Android Studio 2.0 on Ubuntu 16.04 Xenial Xerus, Ubuntu 15.10 Wily Werewolf, Ubuntu 15.04, Ubuntu 14.10 and derivative systems is easy.
Install Android Studio on Linux Mint 17