Adding Android Development Tools (ADT) to Flash Builder 4.5.1

Posted on July 18, 2011 | 18 comments

I am looking at doing some Android development to extend my AIR applications (AIR Native Extension). There is not a lot of public information on AIR Native Extensions but you can check out some information here. For those that really want to start playing with it right now you can apply for the private prerelease program here : https://www.adobe.com/cfusion/mmform/index.cfm?name=prerelease_interest

In the rest of this post I’ll explain how to get the Android Development Tools (ADT) working inside of Flash Builder 4.5.1. The first thing to do is get the Android Development Tool’s Eclipse update url: https://dl-ssl.google.com/android/eclipse/

Go to Flash Builder -> Window -> Install New Software
Flash Builder Install New Software

Add the update url to the dialog box and hit “Add Site”. You should see the available packages like the image below. Go ahead and select all:

Flash Builder add Android Development Tool packages

Accept Any Warnings

Hit Next, Accept any EULA’s and continue until it starts downloading and installing the packages. Next we need to configure the Android SDK into the preferences page. Go to Flash Builder -> Preferences -> Android and select the folder where you downloaded the Android SDK (download now if you haven’t done so) into:

Android SDK Path Preference

Go to Flash Builder -> Window -> Android SDK and AVD Manager:

Update the Android SDK packages with AVD Manager

Select all the appropriate packages, you at least need the SDK’s for Android 2.2. I selected the SDK’s for Android 2.2-3.2 and the documentation packages:

Installing Android SDKs with AVD manager

Now you have in File -> New Project the option to create Android Projects:

Android Project Types in the New Project dialog