Inorder to setup an android IDE, we have to first install a java IDE, like Eclipse and then include the android libraries (SDK), using the Android SDK manager. Seems too much work, right? Thanks to google, they've recently introduced a complete Android IDE package namely the ADT plugin, that simplifies our task. Here we will be installing the IDE using this plugin.
NOTE: This tutorial will be installing the Android IDE on windows OS. Tutorial for linux based OS will be updated soon
Installing Android IDE on Windows based OS
Before you startMake sure you have installed JRE (Java Runtime Environment) on your system and java is added to your system path.
Else download the appropriate version for your system from here and follow the instructions below.
|
Get the ADT bundleADT bundle for windows can be downloaded from here. It takes a while to download. The bundle is around 450MB in size.
Extract the bundleOnce you have downloaded the ADT bundle, you get a zip file which has to be extracted. It looks something like this :
Double click on it and select extract all to a suitable folder.
Exploring the bundleNow inorder to start the IDE, lets wander around in the file you just extracted. First open the extracted folder from the location you specified. You will find the following files and folders in it:
Open Eclipse folder from it. And this is what you will find :
Now double click on the eclipse icon i.e.
And you are ready to go....
Create a desktop icon of eclipse by right clicking on the icon and selecting Send to followed by Desktop, for your convienience
Possible Errors you might get while opening EclipseJava/ Jre folder missingThis is because Java has not been included to your system path. Inorder to resolve this error make sure you have followed the instructons under
"Before you start" If the error still persists
The error should be rectified by now. Even after doing these if it doesnt work, install java with destination folder as the folder Eclipse. Don't forget to add java to path for other applications using java to function smoothly. By doing so you will get an extra folder within Eclipse folder i.e. |
Missing dll fileThis error occurs generally because of compatibility issues between java and eclipse you are using.
First of all confirm that you have the .dll specified in the error message in the Jre folder in Program Files. If the file is not present there, it means that some error occurred in your java installation and that you will have to re-install Java. If the .dll file is present then it means a mismatch between your java and eclipse build. i.e. Your jre might be for a 32 bit pc while your ADT plugin was for 64 bit pc or vice versa. If your browser has automatically selected the jre for your system even then it is possible that it is the wrong version, since your browser can be a 32 bit version running on a 64 bit OS. Make sure both your java and ADT plugins are either for 32 bit or for 64 bit and not a mixture of both, and your problem should be solved If you have a different error and want help post it here |