Android Studio is an application for Android mobile application developers. Android Studio is highly recommended by Google for developer use when developing mobile applications.
Android Studio is now version 3.0, which certainly has many new features, and the application development process is definitely faster. Android Studio is available for various desktop operating systems. So regardless of your operating system, you can still develop Android apps with Android Studio.
For those of you using Linux, this time we will install Android Studio 2.0 on Ubuntu. Android Studio is now available via PPA for Ubuntu 16.04 LTS Xenial Xerus, Ubuntu 15.10 Wily Werewolf, Ubuntu 15.04 Vivid Vervet, Ubuntu 14.10 Utopic Unicorn, Ubuntu 14.04 Trusty Tahr (LTS), Linux Mint 17.1 Rebecca, Linux Mint 17 Qiana, Elementary OS 0.2 and elementary operating system 0.3.
Before installing Android Studio, it’s a good idea to know the minimum requirements needed to run Android Studio 2 on Linux.
Spesifikasi Minimun Android Studio 2 di Linux
- GNOME or KDE desktop
Tested on Ubuntu® 12.04, Precise Pangolin (64-bit distribution capable of running 32-bit applications)
- 64-bit distribution capable of running 32-bit applications
- GNU C Library (glibc) 2.11 or later
- 2 GB RAM minimum, 8 GB RAM recommended
- 2 GB of available disk space minimum, 4 GB Recommended (500 MB for IDE + 1.5 GB for Android SDK and emulator system image)
- 1280 x 800 minimum screen resolution
- Java Development Kit (JDK) 8
- For accelerated emulator: Intel® processor with support for Intel® VT-x, Intel® EM64T (Intel® 64), and Execute Disable (XD) Bit functionality, or AMD processor with support for AMD Virtualization™ (AMD-V™)
How to Install Android Studio on Ubuntu
Since Android Studio 2 is available via PPA for Ubuntu 16.04 LTS Xenial Xerus, Ubuntu 15.10 Wily Werewolf, Ubuntu 15.04 vivid Vervet, Ubuntu 14.10 Utopic Unicorn, Ubuntu 14.04 Trusty Tahr (LTS) and other Ubuntu family systems, the installation process is easy.
First you have to install the JDK first, it is recommended to use the latest JDK. Read How to Install JDK on Ubuntu.
Install via PPA
Now let’s go directly to Android Studio. To install Android Studio write the command as below.
sudo add-apt-repository ppa:paolorotolo/android-studio sudo apt-get update sudo apt-get install android-studio
The installation process will run. When finished, continue to install the Android Studio Add On.
Install via zip file
Apart from the method above, we can also directly download Android Studio files from the following link:
Extract the downloaded Android Studio file, for example: /opt. Use the same file archive name as the download, eg
sudo unzip android-studio-ide-171.4443003-linux.zip -d /opt
To run it
cd /opt/android-studio/bin ./studio.sh
If you want to create a shortcut for the desktop, how to:
Create an androidstudio.desktop file
Add the script below
[Desktop Entry] Version=1.0 Type=Application Name=Android Studio Exec=\"/opt/android-studio/bin/studio.sh\" %f Icon=/opt/android-studio/bin/studio.png Categories=Development;IDE; Terminal=false StartupNotify=true StartupWMClass=android-studio
Save the file (CTRL + O if using nano).