Finally we need to install the Android developer tools (ADT) for Eclipse. Start Eclipse now, and after a splash screen you'll see the dialog that lets you choose a workspace:
Click OK to select the default workspace. Eclipse will start up and you'll see the full layout of that workspace.
Choose Help | Install New Software ... from the menu, and see the Install dialog:
Click Add ... and enter values as shown in the Add Repository dialog. The name doesn't actually matter, but be sure to enter https://dl-ssl.google.com/android/eclipse/ for the URL:
Click OK and you'll be back in the first dialog, and after a moment you'll see a list of packages to download from that site. Choose the Developer Tools box and see that all the child nodes are checked as well; but you don't need the NDK Plugins:
Click Next and after some dependency checking you'll see this confirmation page:
Click Next and you'll be able to accept license agreements for some included components:
Click Finish. You'll see a dialog with a progress bar as Eclipse downloads plugins.
After a while you'll be warned about unsigned content.
Eclipse ADT is not digitally signed so to get it you'll have to click OK. Eclipse will install the downloaded plugins and ask you to restart:
Go ahead and restart Eclipse. When you are back at the default workspace, choose Window | Preferences ... from the menu, and select the Android group from the list on the left. Enter the SDK location in the field at the top -- you can browse to this if you prefer or just enter c:\AndroidSDK2.0 -- and then click Apply. You'll see the list of four platforms that you downloaded into the SDK:
Click OK. Now choose File | New | Other ... from the menu. If you scroll down in the list that's presented you should see an Android group, which once expanded looks like this:
You can close Eclipse, and all is now ready for Android development!
|