Installation

Before you can install the BlackBerry Plug-in for Android Development Tools, you must install Eclipse, and the Android SDK.

Install Eclipse

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.

  1. To download the Android SDK, visit http://developer.android.com/sdk/index.html
  2. 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.
  3. 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.
  4. Open the Android SDK Manager.
  5. In the Android SDK installation folder, run the android-sdk-windows/SDK Manager.exe file.
  6. In the Android SDK Manager, in the Packages section, select the following:
    • Android SDK platform-tools
    • SDK platform Android 4.2.2, API 17
  7. Click Install Selected, and accept any license agreements to install the selected packages.
  8. 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

  1. In Eclipse, on the Help menu, click Install New Software > Add.
  2. In the Name field, enter a name for the plugin.
  3. 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/.
  4. Click OK.
  5. 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.
  6. If you are using the beta update site and do not have the ADT Plug-in, the newest version is installed.
  7. Click Next.
  8. 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.

comments powered by Disqus