Since I got my Google Nexus in March, I found myself wanting to play with Android. All you hear these days is the benefits of creating apps for either the iPhone or for Android and I thought to myself that I would like to try.
So after a quick Google search I found myself on the Android SDK page where it didn’t take me long to spot Installing the SDK. I took a look at the instructions and saw that ADP requires Eclipse IDE. I thought to myself that since one of my favourite IDEs is Eclipse based, it would be a piece of cake. Installing ADT on Aptana Studio 3 is easy but requires a couple of extra steps.
To be successful in installing ADT on Aptana Studio 3 you need to meet one very important requirement first; the installation of the Java Developer Tools, or JDT. It seems they are pre-installed on Eclipse IDE, but not on Aptana Studio 3 (at least not 3.2 release I’m using).
But fear not my intrepid friends! Follow these brief instructions below and you’ll be up and developing your first Android app in no time!
Installing JDT into your workspace
- Start Aptana Studio, then select Help > Install New Software…
- Click on the Available Software Sites link near the Add button
- Select the checkbox next to Eclipse Indigo Update Site and click OK
- In the Available Software dialogue, change your site to the one enabled above
- Either search for Eclipse Java Development Tools or select the check-box next to it under Programming Languages and click Next
- Read and accept the license agreements, then click Finish
Once the installation has completed, and you’ve restarted your Aptana Studio Workspace, you can then go back to the Android SDK Installing the Eclipse plugin page and finish installing ADT on Aptana Studio 3.
Installing ADT on Aptana Studio 3
The following is directly from http://developer.android.com/sdk/installing/installing-adt.html and is here strictly for reference. The instructions may have changed, so you’re best following along there.
Step 1: Downloading the ADT Plugin
- Start Eclipse, then select Help > Install New Software…
- Click Add, in the top-right corner.
- In the Add Repository dialog that appears, enter ADT Plugin for the Name and the following URL for the Location:
https://dl-ssl.google.com/android/eclipse/
- Click OK. If you have trouble acquiring the plugin, try using “http” in the Location URL, instead of “https” (https is preferred for security reasons).
- In the Available Software dialog, select the check-box next to Developer Tools and click Next.
- In the next window, you’ll see a list of the tools to be downloaded. Click Next.
- Read and accept the license agreements, then click Finish. If you get a security warning saying that the authenticity or validity of the software can’t be established, click OK.
- When the installation completes, restart Eclipse.
Step 2: Configuring the ADT Plugin
Once Eclipse restarts, you must specify the location of your Android SDK directory:
- In the Welcome to Android Development window that appears, select Use existing SDKs.
- Browse and select the location of the Android SDK directory you recently downloaded.
- Click Next.
Before I wrap this up, let me recommend going through the Android SDK tutorial Building Your First App. I found it a nice ice-breaker.
Happy coding!