Skip to content

Latest commit

 

History

History
47 lines (29 loc) · 1.22 KB

android_guide.md

File metadata and controls

47 lines (29 loc) · 1.22 KB

Set up guide for android

1. Install JDK 6 or later

First, install Oracle JDK 8

sudo add-apt-repository ppa:webupd8team/java

Follow the steps provided in this link below to set it up.

To make sure, it’s installed successfully, open a terminal and type

javac -version

Set the JAVA_HOME environment variable to the location of your JDK installation using this link.

2. Download and install Android Studio

Download the Android Studio package from here and extract it somewhere (e.g home directory).

For Mac:

Just run the .dmg to install Android Studio and then follow the setup process.

For Linux:

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

cd android-studio/bin

Select whether you want to import previous Android Studio settings or not, then click OK.

Set the **ANDROID_HOME** environment variable to the location of your Android SDK installation

sudo gedit ~/.bashrc
export ANDROID_HOME=/home/user_directory/Android/Sdk