Install Android SDK Using Terminal

Introduction:

We all developers know about Ubuntu Open Source operating system because it is the best OS for developers who love coding. In the case of Cloud Computing also, developers using Ubuntu because they familiarize with the commands and codes that they utilized in the same Ubuntu OS installed on their local PC. Today I am going to share steps that will help you to install Android SDK Manager in Ubuntu using the terminal. You can use the same step to install Android SDK Manager in Cloud. 

Step to Install Android SDK Manager in Ubuntu:

It is very easy to install Android SDK Manager and its API Packages on your Ubuntu Operating System using Terminal. You can follow the below steps to install Android SDK on both local PC and Cloud.
  • To work with Android SDK Manager you to install Java on your PC. So, first of all, you need to install Java JDK on your Ubuntu OS.
sudo apt-get install openjdk-7-jdk
  • Now you need to download the Android SDK Manager from the official site of Android. For that just copy and paste the below code to your Ubuntu Terminal.
wget http://dl.google.com/android/android-sdk_r24.2-linux.tgz
  • Look at the below image to see what will happen.
Android SDK Downloaded
  • After downloading Android SDK Manager to your Ubuntu OS you need to extract the .tgz file with the below command.
tar -xvf android-sdk_r24.2-linux.tgz
  • Now you need to access the "Tool" Folder inside the "Android SDK Manager Folder". For that use the blow command in terminal.
cd android-sdk-linux/tools
  • Now you need to install the API Packages. To install every package just type the following command in the terminal.
./android update sdk --no-ui
  • Now you need to SET Variable Path for Android SDK Manager, for that just follow up the commands that given below using your terminal.
vi ~/.zshrc << EOT

export PATH=${PATH}:$HOME/sdk/android-sdk-linux/platform-tools:$HOME/sdk/android-sdk-linux/tools:$HOME/sdk/android-sdk-linux/build-tools/22.0.1/

EOT

source ~/.zshrc
  • The next step is to install adb (Android Debug Bridge) and aapt ( Android Asset Packaging Tool). For that you have to use the below commands on your Ubuntu Terminal.
sudo apt-get install libc6:i386 libstdc++6:i386
AND
sudo apt-get install zlib1g:i386
You can use the same steps that followed above to install Android SDK on Ubuntu OS when you install Android SDK on Ubuntu Cloud using terminal.

I hope you well enjoyed this article, If you have any doubts or suggestions about this article. Please let us know by using the comment box that given below. Thanks

0 comments:

Post a Comment

Wapmaster or Webmaster can Comment Us with the following Comment Box . Don't add Links to your site for Spamming our Blog .. Once you add Comment with Link . It will be deleted immediatly by our Admins .

 
Top