Home Android How to install Android Studio in Ubuntu

How to install Android Studio in Ubuntu

By sk
333 views

About Android studio

Android Studio is the official IDE for Android application development, based on IntelliJ IDEA.

Concerning about the features, we can list the following:

  • Flexible Gradle-based build system
  • Build variants and multiple apk file generation
  • Code templates to help you build common app features
  • Rich layout editor with support for drag and drop theme editing
  • lint tools to catch performance, usability, version compatibility, and other problems
  • ProGuard and app-signing capabilities
  • Built-in support for Google Cloud Platform, making it easy to integrate Google Cloud Messaging and App Engine
  • And many yet to come

Install Android Studio in Ubuntu/Linux Mint

Requirements

You must at least have the following minimum requirements to run Android studio properly.

  • GNOME or KDE desktop
  • GNU C Library (glibc) 2.15 or later
  • 2 GB RAM minimum, 4 GB RAM recommended
  • 400 MB hard disk space
  • At least 1 GB for Android SDK, emulator system images, and caches
  • 1280 x 800 minimum screen resolution
  • Oracle® Java Development Kit (JDK) 7 or 8

Let us install Android studio in Ubuntu 15.10 desktop.

The easiest method to install Android Studio is using PPA. Thanks to Webupd8 team for making the PPA for Android Studio.
Android Studio needs JDK 7 or JDK 8 to work properly. SO, Let us install JDK first.
To install JDK 7 on your Ubuntu, open your Terminal and run the following commands one by one.
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java7-installer
In case, you want to install JDK 8, then run the following commands instead.
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer
Click Ok to continue:
sk@sk: ~_008
Accept the License agreement:
sk@sk: ~_009
Java installation will start now.
After installing Java, check whether the JDK has been installed properly, using the following command:
java -version
If you see the output something like below, then congrats! You have successfully installed Java.
java version "1.7.0_80"
Java(TM) SE Runtime Environment (build 1.7.0_80-b15)
Java HotSpot(TM) 64-Bit Server VM (build 24.80-b11, mixed mode)

Now, let us install Android Studio.
sudo add-apt-repository ppa:paolorotolo/android-studio
sudo apt-get update
sudo apt-get install android-studio
Done. Launch Android Studio either from Menu or Unity Dash.
At the first launch, Android studio setup wizard will start.
Click Next to setup your development environment for Android Studio.
Ubuntu 15.04 desktop [Running] - Oracle VM VirtualBox_011
Click Next.
Ubuntu 15.04 desktop [Running] - Oracle VM VirtualBox_012
Click Next.
Ubuntu 15.04 desktop [Running] - Oracle VM VirtualBox_013
Finally, click Finish.
Ubuntu 15.04 desktop [Running] - Oracle VM VirtualBox_014
Android Studio setup wizard will start to download all necessary components.
Ubuntu 15.04 desktop [Running] - Oracle VM VirtualBox_015
Finally click Finish.
Here it is how Android studio looks like.
Ubuntu 15.04 desktop [Running] - Oracle VM VirtualBox_017
Now, start to develop your Android apps. Good luck.
Source links:

You May Also Like

Leave a Comment

* By using this form you agree with the storage and handling of your data by this website.

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

This website uses cookies to improve your experience. By using this site, we will assume that you're OK with it. Accept Read More