How to Install Android

To start working with Android first we need to have the following:


Requirements:

Jdk
Eclipse

Android sdk (adt plugin for eclipse)

How to install Jdk:

go to



accept license agreement and click on 
 jdk-7u45-windows-i586.exe - if u have a 32-bit computer
 jdk-7u45-windows-i64.exe   - if u have a 64-bit computer
after download is complete run the file.




if u want to change the destination folder of installation files click on change and choose the required folder else click next




Now jdk is successfully installed.

How to install Eclipse :
To download eclipse go to



Click on Eclipse IDE for java EE developers - (u  can choose windows 32bit or 64bit based on system configuration).

click on the green download button
after it is downloaded  extract the zip file and inside the folder

click on eclipse ,it will started and the welcome page is shown,Thus eclipse is installed.


How to install android sdk:
We can develop android in eclipse by downloading adt plugin for eclipse.

Go to Eclipse - Help - Install New software

click add
 type
https://dl-ssl.google.com/android/eclipse/  
  - in location and give a name,
click ok





now check developer tools and ndk plugins and click next

accept terms and click finish.
If you get a security warning saying that the authenticity or validity of the software cant be established ,click ok.
It will install the software and ask for restart.
Once the eclipse is restarted set the location of android sdk
go to window - preferences





                                                             select the sdk path and click ok
(ex: D:\JAVA\sdk\android-sdk-windows)
once u click okay u will find the avd and sdk manager icons in the toolbar     
                                                                                                 


How to setup java Environment variable:
Right-click on computer - go to properties -  Advanced- Environment Variables

In System Variables - Create new
with 

name  - PATH
value   - location of jdk in your computer(Ex: C:\Program Files (x86)\Java\jdk1.6.0_31\jre\bin\ )

No comments:

Post a Comment