Tuesday, 11 September 2012

Android Installation procedure

 


Android Installation:

Hi everyone,Android installation is easier if u follow the below steps.I have tried to explain it in brief so it may be helpul for someone.


Software Requirement:

1)Jdk & Jre(above 5.0 ).
2)Eclipse(latest one).
3)Android sdk.
4)Android plugin to eclipse.

Before  installing Android your Java developement environment should be ready.

1)Steps to Instal Java Developement environment :

2)Give the jdk and jre path in advanced settings to run java program. 
 i.e.
a) go to control pane->click Advanced system settings->select Environment variable in pop up->click new and create varialble with variable name JAVA_HOME and for variable path give ur jdk path in c as C:\Program Files\Java\jdk1.6.0_24\bin.
 
b)Same way click new and Jre also with name JRE_Home and path as  C:\Program Files\Java\jre6\bin.                                     

c)Later edit path in system variable and add ur jdk path.
 i.e D:\oracle\product\10.2.0\db_1\bin;C:\Program Files\Java\jdk1.6.0_24\bin,C:\Program Files\Java\jre6\bin 

d)Now u can download Eclipse and run ur java program.

2)Steps to Instal Android Developement environment :

 1)Download Android SDK
        download Android SDK from http://developer.android.com/sdk/index.html
      
        2)Installing the SDK :
On Windows, right-click on My Computer and select Properties. Under the Advanced tab, hit the Environment Variables button, and in the dialog that comes up, double-click on Path (under System Variables). Add the full path to the tools/directory to the path.

     3)Download Eclipse: Download Eclipse from http://www.eclipse.org/downloads/

     4)Download ADT Plug-in
  •  Start Eclipse, then select Help > Install New Software.   
  •  In the Available Software dialog  click Add.   
  •   In the Add Site dialog that appears, enter a name for the remote site in the "Name" field.                     E.g. AndroidPlug-in  
  • In the "Location" field, enter this URL: https://dl-ssl.google.com/android/eclipse/  .                     Then  Click OK.                                                                
  • Go  Back to the Available Software view, you should now see "Developer Tools" added to the list. Select the checkbox next to Developer Tools, which will automatically select the nested tools Android DDMS and Android Development.Click NEXT.              
  • In the resulting Install Details dialog, the Android DDMS and Android Development Tools features are listed. Click Next to read and accept the license agreement and install any dependencies, then click Finish.
  • Restart Eclipse. 
 5) Configuring ADT plug-in eclipse:
  • Select Window > Preferences... to open the Preferences panel
  • Select Android from the left panel.
  • For the SDK Location in the main panel, click Browse... and locate your downloaded SDK directory.
  • ·Click Apply, and then OK. 






      
     6)Create AVD:

Click on Android SDK and AVD Manager icon or Window > Android SDK and AVD Manager


7  
    7)Running Application: 
  • Import the source code to eclipse.
  • Import required JAR files on project properties > Java build path > Libraries. 
  • Now run the application. 









No comments:

Post a Comment