Install and Configure Android Studio in Linux

There are 3 simple steps to install and configure android studio in your Linux machine

1-Installing Latest JDK

To run android studio you need to install Latest JDK (Java Development Kit) to install latest JDK run the following commands in your terminal

sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer
sudo apt-get install oracle-java8-set-default

To check if JDK installed and working properly run the following command in your terminal

javac -version

Set JAVA_HOME environment variable to the location where you have installed latest JDK.


2-Installing Android Studio in Linux

You need to download the latest version of Android Studio.

After Download .zip file extract is somewhere in appropriate location for your applications, such as within /usr/local/

To launch Android Studio, open a terminal, navigate to the android-studio/bin/ directory, and execute

cd android-studio/bin

Then select location of setting where you previously install or click on OK

Set the ANDROID_HOME environment variable to the location of your Android SDK (Software Development Kit) installation

sudo gedit ~/.bashrc
export ANDROID_HOME=/home/user_directory/Android/Sdk
export PATH=${PATH}:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools
export JAVA_HOME=/usr/lib/jvm/java-8-oracle

Install SDK (Software Development Kit) Platforms

If you want to build some apps in the android studio you need to install some additional development kit

To install SDK Follow this Tutorial

Add Comment

1 × four =