Tuesday, April 1, 2014

Download, Install, and Configure the Android SDK



Click on the Linux tarball android-sdk_r**-linux.tgz
Save it to your /home/linuxmaiden/Downloads directory.


Note: the ** represents the version number of your download so replace it with that number.  Also, replace linuxmaiden with your username.


Open a terminal and run the following commands:


cd /home/linuxmaiden/Downloads
sudo cp /home/linuxmaiden/android-sdk_r**-linux.tgz /opt
cd /opt
sudo tar xvzf and*.tgz
sudo chmod -R 755 /opt/android-sdk-linux


You will now be able to locate the Android SDK at:


/opt/android-sdk-linux


Open a terminal and add Android SDK to your system wide PATH:


sudo vim /etc/profile


Add the following lines to the end of the system PATH file:


export PATH=${PATH}:/opt/android-sdk-linux/tools
export PATH=${PATH}:/opt/android-sdk-linux/platform-tools


Save the /etc/profile file and exit