Showing posts with label eclipse. Show all posts
Showing posts with label eclipse. Show all posts

Sunday, 6 January 2013

Creating an Android Project In Eclipse

Step  1 : 

Goto "File --> New --> Other"  as shown below :



Step 2  :

A "New"  wizard will appear on the screen, In that, Select  "Android --> Android Application Project " and click "Next"


Step 3 :

A "New Android Application " wizard appears in the screen. In that, Enter "Application Name", "Project Name", "Package Name", For Minimum Required SDK to API 7 or lesser, Target SDK to maximum API you have.


Step 4 :

 Follow the steps shown below as it is,


Step 5 :

"Create Activity" wizard will appear on the screen, Select "Blank Activity" and Click "Next"


Step 6 :

A "New Blank Activity" wizard will open, Here you have to give name for your activity and layout, then you click "Finish"


Step 7 :

Android Project will be created in eclipse IDE and the project structure looks like as follows :


Configuring ADT Plugin in Eclipse




Step 1 :

In any version of Eclipse. Start Eclipse and then select Help > Install New Software...


Step 2 :

Click Add, on the top right side. A small Add Repository Dialog will appear above the wizard.  In this Dialog enter "ADT Plugin" for the Name and the following URL for the Location:
 https://dl-ssl.google.com/android/eclipse/


 Step 3 : 

Next you will be see ‘Available Software’  dialog in th configuration wizard. In this dialog, select the checkbox next to ‘Developer Tools’ and click Next.
 

Step 4 :

 Eclipse will show the dependencies in the next window. Which is a list of the tools you selected and  to be downloaded. Click Next.



Step 5 :

Next, you will be shown the license agreements. Read and accept these license agreements, then click Finish. It will start installation of ADT plugin and its dependencies in Eclipse.


Step 6 :

 After the installation finishes, you restart Eclipse.