Sunday 11 December 2011

Getting Started !!

              So are you all geared up for android development now ? Android Development is done in Java and if you don't ant to bang your head on a wall in an IDE more specifically in Eclipse IDE.
Pre-Requisites for android development:
1)Android SDK and ADT plugin:

2)Eclipse IDE :
You can Download it from here :  http://www.eclipse.org/downloads/
You will require Eclipse IDE for Java Developers => Galileo or Helios or Indigo will do. I use Galileo but newer versions will be preferred. 
3) Some basic knowledge of Java and xml .
This tutorial will mainly deal with setting up the development environment.

1) Download the Android SDK starter package downloaded from the above link.

2)Run the SDK manager  in your android-sdk  folder

3)In the SDK Manager , click on the Available Packages and download all of them or at least the sdk and  at least one emulator i.e API levels.



4)Installing ADT plugin in eclipse :
Start Eclipse:
Go to Help > Install New Software 

5) Click Add, in the top-right corner.In the Add Repository dialog that appears, enter "ADT Plugin" for the Name and the following URL for the Location:

https://dl-ssl.google.com/android/eclipse/
 
 
 
6) Click OK.In the Available Software dialog, select the checkbox next to
Developer Tools and click Next.
 
7)In the next window, you'll see a list of the tools to be downloaded. Click
Next and Read and accept the license agreements, then click Finish.
      
Note: If you get a security warning saying that the authenticity or validity of the software can't be established, click OK.
8)Restart Eclipse.
9)
Give the android sdk path in eclipse:
Go to Window > Preferences > Android >path to SDKi.e android sdk folder.
(Make sure no spaces are included in the path) 

10) Create an Android Virtual Device
Go to Window > Android SDK And AVD Manager > New > Choose an API Level give it name 
and choose Create AVD.This will be the emulator on which your projects will run.Choose
Screen size preferably HVGA(standard resolution).
This completes your configuration of android development environment.
Now you are all set to develop the next big app for android.More on that in the next post.
Till then 
Happy Droiding !!!! 
 
 













No comments:

Post a Comment