Install Android SDK Eclipse




Requirement of Pre-requisites:
 AJDT (for AspectJ conversion)
Eclipse setup
ADT Plug-in for Eclipse
Android SDK setup

Eclipse:.
First of all need to download Eclipse from following URL:

Version: Eclipse Classic 3.7.2 (Windows 32 Bit)
Now just extract it from zip or .rar, then located the downloaded folder in local drive to control it. You will get here ‘eclipse.exe’ which can run Eclipse framework.

When Eclipse framework will open, Then it will ask for the local physical location on ‘workspace’ folder (‘Workspace’ is that physical or memory location where the complete Eclipse project already saved). Create workspace folder anywhere in your local machine drive and point that location.
By that way Eclipse has configured successfully. Now it can open Eclipse, write any test program and confirm it can save program at workspace folder.

Set Up the Android SDK:
Now requirement is set up and configured the Android with Eclipse. Actually it is for development procedure but if we require to check to confirm how’s the application work we can easily check it on the application in eclipse.
Now you can download Android-sdk-windows (android-sdk_r18-windows) from application from the following URL:

You need to just extract or unzip the downloaded .rar folder (android-sdk_r18-windows) anywhere in your local drive. You will get here ‘SDK Manager.exe’ (which always open the Android SDK Manager) and ‘AVD Manager.exe’ (which can open the AVD Manager).

     i) SDK Manager: But you need to installing the Android packages with following steps:
•         Execute the ‘SDK Manager.exe’ (It will be found in the ‘android-sdk-windows’ folder)
•         You will get the list of package to install available in Android SDK manager.
•         Install any of the package which is required (like Android 4.0.3 (API 15))


      ii) AVD Manager: This is used for creating the Virtual Device (emulator)
•         Execute the ‘AVD Manager.exe’ (It can also be found in the ‘android-sdk-windows’ folder)
•         ‘Android Virtual Device Manager’ window open independently
•         Now Click on New> and follow the following steps as shown in below screenshot:

Eclipse configuration with Android SDK
Eclipse configuration with Android SDK



Name: This is name of Virtual device or emulator.
Target: version of Android emulator which is in use
CPU/ABI: Use ARM for Android
SD Card ‘Size’: it can be 512MB or 1GB
Snapshot: checked (best practice) [-It will continue on track if any activity killed, dead or process discarded or crashed, we can restore the session if its enabled ]
Skin ‘Built-in’: HVGA (for Android)

Click on ‘CreateAVD’. It will create the AVD which will be seen in ‘Android Virtual Device Manager’ under ‘AVD Name’ section.
Select the AVD name and click on ‘Start’. ‘Launch Option’ pop-up will be open. Then click on ‘Launch’.  It will open the Android emulator.

Eclipse ADT plug-in:
 ADT plug-in can extends the ability of Eclipse to help you quickly set up new Android SDK projects, build an application UI, debug your application, and export the signed (or unsigned) application packages (APKs) for distribution.
To install ADT plug-in:
•         Start the Eclipse> Go to on Help > Install New Software....
•         Click on Add, from top-right corner.
•         In the Add Repository dialog which will appears, enter "ADT Plug-in" as the Name and use following URL for the Location:
•         Now Click on OK

Now you need to restart the Eclipse. It will automatically ask for the Android SDK (and that we have already installed as with above explained steps) so now Just need to give the location of Android SDK path.
Now while looking on the Eclipse, TWO newly added icons will be shown, these TWO icons are for ‘AVD Manager’ and ‘Android SDK Manager’.
Now Eclipse is configured / Installed with Android SDK.



 How to Install Android SDK Eclipse, full steps and complete tutorial with real world scenario on Eclipse configuration with Android SDK, Android SDK setup, ADT plug-in for Eclipse

No comments:

Post a Comment

Popular Posts