Before you can install the BlackBerry Plug-in for Android Development Tools you must install Eclipse and the Android SDK.
Download and install Eclipse version 3.8. To download Eclipse, visit http://download.eclipse.org/eclipse/downloads/.
If you are using a Mac, download Eclipse for Mac OS X (Cocoa 32).
Install the Android SDK
The command line and plug-in repackaging tools require that you have the Android SDK installed on your computer. If you don't have the Android SDK on your computer, you must install it.
- To download the Android SDK, visit http://developer.android.com/sdk/index.html
- If you downloaded the exe file, run it and follow the setup instructions provided, remembering the install location. When using the plug-in repackaging tool you must reference the path to this folder. To simplify this path reference, define an environment variable for the installation folder. On the final dialog of the setup tool, select Start SDK Manager and click finish. Then move on to step 5.
- If you downloaded a zip version of the SDK, extract the file to your preferred location. The folder that you extract the contents of the .zip file to is the Android SDK installation folder. When using the plug-in repackaging tool you must reference the path to this folder. To simplify this path reference, define an environment variable for the installation folder.
- Open the Android SDK Manager. In the Android SDK installation folder, run the android-sdk-windows/SDK Manager.exe file.
- In the Android SDK
Manager, in the Packages section, select the following:
- Android SDK platform-tools
- SDK platform Android 2.3.3, API 10
- Click Install Selected and accept any license agreements to install the selected packages.
- Restart your computer.
Install the ADT Plug-in for Eclipse
To install the ADT plug-in, visit: http://developer.android.com/sdk/installing/installing-adt.html.
Install the BlackBerry Plug-in for Android Development Tools
Before you begin, make sure you have installed Eclipse 3.8
- In Eclipse, on the Help menu, click Install New Software > Add.
- In the Name field, enter a name for the plug-in.
- In the the Location field, enter the URL of the update site for the plug-in. The URL of the update site is http://developer.blackberry.com/android/downloads/eclipseplugin/.
- Click OK.
- In the Install window, in the Name field, select the BlackBerry Plug-in for Android Apps check box, and also select the check boxes for the items under it.
- If you are using the beta update site and do not have the ADT Plug-in, the newest version will be installed at this time as well.
- Click Next.
- Complete the instructions in the Review Licenses window. Click Finish.
After you install the plug-in, you should verify that the installation correctly located the Android SDK in the plug-in preferences. To verify the location, in Eclipse, on the Window menu, click Preferences > Android and ensure the path in the SDK location field matches the location of your installation folder.
After confirming the filepath, you should also verify that the SDK Platform Android 2.3.3, API 10 was installed correctly in Eclipse. To verify and download if necessary, on the Window menu, click Android SDK Manager and look in the Packages section and ensure that the status of SDK Platform Android 2.3.3, API 10 displays as Installed.