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 4.2.2. To download Eclipse, visit http://download.eclipse.org/eclipse/downloads/.
If you're using a Mac, download Eclipse for Mac OS X (Cocoa 32).
Install the Android SDK
The command-line and plugin 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 installation location. When using the plugin 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 box of the setup tool, select Start SDK Manager, and click finish. Then move on to step 6.
- 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 plugin 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
- Android SDK platform-tools
- SDK platform Android 4.2.2, API 17
- 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 plugin, visit: http://developer.android.com/sdk/installing/installing-adt.html.
Install the BlackBerry Plug-in for Android Development Tools
Before you begin, make sure that you have installed Eclipse 4.2.2
- In Eclipse, on the Help menu, click Install New Software > Add.
- In the Name field, enter a name for the plugin.
- In the Location field, enter the URL of the update site for the plugin. 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 is installed.
- Click Next.
- Complete the instructions in the Review Licenses window. Click Finish.
After you install the plugin, you should verify that the installation located the Android SDK in the plugin preferences. To verify the location, in Eclipse, on the Window menu, click Preferences > Android and ensure that the path in the SDK location field matches the location of your installation folder.
After confirming the file path, you should also verify that the SDK Platform Android 4.2.2, API 17 was installed correctly in Eclipse. To verify and (if necessary download) the API, on the Window menu, click Android SDK Manager, and look in the Packages section to ensure that the status of SDK Platform Android 4.2.2, API 17 displays as Installed.