Search code examples
androideclipse-pluginblackberry-playbook

Debugging Android application on BlackBerry PlayBook


I am trying to run an Android application on a BlackBerry PlayBook Simulator using the Eclipse plug-in but the problem I am facing is that the simulator cannot connect to the ADB. I registered for the BlackBerry signing keys, set the PlayBook to Development Mode, added a BlackBerry nature to the project, configured the application's target, and even validated the app's compatibility using the online tool (I'd much rather use the Eclipse plug-in instead so that I can test my app before publishing, whereas the online tool I believe requires you to publish before you get to test). Below is the error log that is displayed onto my console.

[2011-11-10 11:22:37 - HelloAndroid] Packaging project HelloAndroid
[2011-11-10 11:22:40 - HelloAndroid] Launching BlackBerry Android Runtime...
[2011-11-10 11:22:53 - HelloAndroid] Connecting to ADB...
[2011-11-10 11:22:54 - BlackBerry] unable to connect to 192.168.49.128:5555

Solution

  • Oh, it seems that I wasn't using the simulator for Tablet OS 2.0. Now I am able to run Android applications.