Setup Android on System

  1. Install Java on your system (https://java.com/en/download/help/download_options.xml)
  2. Download either android SDK/Android Studio, it doesn’t matter what you choose, to get the android SDK downloaded:
    http://developer.android.com/sdk/installing/index.html

Install the Android SDK
To make android commands works from any location of your system, please do following:
OSX/LINUX:

  • vim ~/.bash_profile or vim ~/.bashrc
  • add following lines on you .bashprofile/.bashrc files
  • export ANDROID_HOME=””
  • export PATH=${PATH}:/platform-tools
  • export PATH=${PATH}:/tool
  • Restart your terminal

Windows:

  • In the Environment Variables window, select the PATH line item in the Systems Variables section, then click the Edit button
    Add following lines
    C:\Android\tools;C:\Android\platform-tools
  • Save it
  • Run command on terminal : adb
  • You should be seeing following on terminal.
    Android Debug Bridge version 1.0.32
    Revision 09a0d98bebce-android
    < all the adb options>
Advertisements

One thought on “Setup Android on System

Add yours

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Blog at WordPress.com.

Up ↑

%d bloggers like this: