Tuesday, December 20, 2016

Arch Linux-Getting Started with Android Studio

In this post I am going to share my experience in setting up Android Studio IDE on Arch Linux platform.

STEP 1::

        Download Linux based Android Studio from Android Developer portal from this link to specific directory.In my case I saved in   home/Documents/Android_IDE/Android-Studio

STEP 2::
   
        Open terminal and navigate to the downloaded directory
                        
                      $ cd home/Documents/Android_IDE/Android-Studio                 

STEP 3::

        Extract the 'tar.gz' file
          $ tar -zxvf android-studio-bundle-133.1028713-linux.tgz              

STEP 4:: 
       Its time to download Java. Download Java SE from Oracle portal( Visit Oracle Java SE Download page). Extract files and voila!!!, Java is installed successfully.To verify if installed perfectly, type in terminal

                                                  $ java                                                             

If list of available commands are displayed then its done (good job!!!)
STEP 5::
Once Android Studio file extracted, navigate to bin folder
                $ cd /op/home/android-studio/bin                                        
 Start the Android Studio from the terminal
                                   $ ./studio.h                                                        
 Instead of starting Android Studio from the home directory, add the bin path to PATH environmental variable.
                $ JAVA_HOME=~/Development/jdk<version> ./studio.sh       
Hope it helped. Happy coding !!!

No comments:

Post a Comment