How to Install Android Sdk in Eclipse

Powered by WP Review
How to Install Android Sdk in Eclipse

How to Install Android Sdk in Eclipse

Download and Install Android Sdk in Eclipse for Free

An Android fan who really wants to build applications those are compatible with Android? Android SDK is the answer. This is a software development Kit that is completely dedicated to developing applications for the Android platform. Learning how to develop Android applications is not that difficult, especially when you are in an Android application development course in CORPITS Chennai.
Download and Install Android SDK from the instructions given below and who knows you just might make “Flappy Bird 2”.

Requirements

To begin building android applications, it is required that Android SDK is dowloaded and installed. The requirements also include Eclipse IDE and ADT plug-in.
To install Eclipse and Android SDK, it is important that Java JDK installed in your Computer system.

The instructions for installing Java Development Kit are stated below.

If your PC already has JDK, jump to step 5 bypassing all other steps.

Note: To check if JDK has been installed in your PC, open the Command prompt and type java -version . The java version installed in your computer system is displayec.

Check the java JDK in Command Prompt

STEP 1 : Download JDK

  1. Java Development Kit (JDK) can be downloaded from the following link
    http://www.oracle.com/technetwork/java/javase/downloads/index.html
  2. Accept the license Agreement button and opt for the appropriate version of 64-bit or 32-bit based on your OS and save it.

STEP 2 : Install JDK

  1. The downloaded file jdk-8u77-windows-x64.exe will be run and the installation continues
  2. The installation installs JDK and JRE in separate folders and these files can be found in C:\Program Files\Java

  3. note : If the OS is 32-bit, The files are located in C:\Program Files (x86)

STEP 3 : Set Environment Variable

  1. Copy the path of Java bin folder C:\Program Files\Java\jdk1.8.0_45\bin in my case.
  2. Right click My Computer and Select Properties
  3. Click on Advanced System Variables
  4. Click on Environment variable
  5. In Environment Variable dialog box under System variables scroll down to find path and double click or select it click edit button.
  6. Edit System Variable dialog box open and paste the copied java bin path C:\Program Files\Java\jdk1.8.0_45\bin in the variable value input box and click on ok.


STEP 4 : Testing using the Command Prompt

  1. Type java -version in the Command Prompt

Android SDK installation is commenced when JDK is installed successfully.


The procedure for installing Android SDK in Eclipse IDE is stated below.

STEP 5 : Get Android SDK

  1. Paste the following link http://developer.android.com/sdk/index.html in your browser
  2. Scroll down and Select the command line tools section
  3. Click on android-sdk_r24.4.1-windows.zip. The zip file is saved and extracted to the desired folder.

STEP 6 : Install SDK tools and Packages

  1. The SDK Manager.exe is run from the extracted SDK tools folder.
  2. The appropriate packages are selected to install.
  3. Close the window once the selected packages are downloaded.

STEP 7 : Get Eclipse IDE

  1. Paste the link http://www.eclipse.org/downloads/ on the navigation bar of the browser
  2. Select bit or 64 bit Eclipse based on the operating system installed
  3. Select the source for downloading the setup for Eclipse
  4. The compressed file is then decompressed and all the files are extracted

STEP 8 : ADT plug-in Repository

  1. Run Eclipse executable file(.exe)
  2. Click on Help and then click on Install New Software
  3. Add new ADT
  4. Enter Name as “ADT” and Location as” http://dl-ssl.google.com/android/eclipse/ “. Click on OK button.
  5. note : Enter the Name and Location without the inclusion of double quotes(” “)

  6. Check Developer Tools checkbox and click on next button.
  7. Click on next button
  8. Click on Accept to accept the terms and conditions.
  9. After installation is complete, restart Eclipse.

STEP 9 : ADT preferences

  1. Select Windows and then click on Preferences and select the Android tab
  2. Click on the browse button and select the SDK location, then click on Ok.

STEP 10 : Add Android Virtual Device Manger

  1. Select windows and then click on Android Virtual Device Manager
  2. Click on the Create button and proceed by entering the details shown in the image below
  3. Then click ok OK button

Successfully installed Android SDK in Eclipse IDE. You are now ready to code.


Leave a Reply

Your email address will not be published. Required fields are marked *