Option 2: Eclipse Plug-in for Android Development Tools
Before you begin:
Before you try to install the BlackBerry Plug-in, make sure that you have Eclipse version 4.2.2 for Windows (or Cocoa 32 for Mac OS X), the Android SDK, and the latest version of the Android Development Tools installed on your computer.
The above items are available in separate downloads, or in the Android SDK ADT bundle download. For more information on installing the above items, see Items required for the Eclipse BlackBerry Plug-in.
You must uninstall any previous version of the BlackBerry Plug-in for Android Development Tools, before you install the latest version. Download the BlackBerry Plug-in for Android Development Tools.
Follow these steps to install the BlackBerry Plug-in for Android Development Tools:
- In Eclipse, on the Help menu, click Install New Software > Add.
- In the Name field, enter BlackBerry Plug-in for Android Development Tools as the 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 don't have the ADT Plug-in installed on your computer, the newest version of the plugin is installed.
- Click Next.
- Complete the instructions in the Review Licenses window.
- Click Finish.
After you finish:
After you install the plugin, you should verify that the installation has successfully located the Android SDK in the plugin preferences.
Follow these steps to verify that the installation has successfully located the plugin:
- Start Eclipse.
- Navigate to Window > Preferences > Android.
- Check to make sure that the path shown in the SDK location field matches the location of your Android SDK installation folder.
- Verify that all the APIs that your app requires are installed
correctly in Eclipse.
- Navigate to Window > Android SDK Manager.
- In the Packages section, ensure that the status of all the APIs that your app requires are displayed as Installed.
The maximum API level supported is Android 4.3 (API 18).