Question

I'm trying to debug a ported android application on my Blackberry Playbook, but it gives me this error whenever I try to launch it as a Blackberry Android Launch:

An internal error occurred during: "Launching The Dot Game Playbook".
com.android.ide.eclipse.adt.internal.project.AndroidManifestHelper.parseForData(Lorg/eclipse/core/resources/IProject;)Lcom/android/sdklib/xml/ManifestData;

I can't figure out what's causing this error. The app runs fine in the android emulator, but won't work with the blackberry tools. I've tried cleaning the project, updating the android SDK, restarting Eclipse, and reinstalling the Blackberry plugins, but nothing's worked. Any ideas?

EDIT: Here's my AndroidManifest.xml:

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="net.g33kworld.thedotgame"
android:versionCode="1"
android:versionName="1.0" >

<uses-sdk
    android:minSdkVersion="10"
    android:targetSdkVersion="10" />

<application
    android:icon="@drawable/ic_launcher"
    android:label="@string/app_name"
    android:theme="@style/AppTheme" android:allowBackup="true">
    <activity
        android:name="net.g33kworld.thedotgame.DotGame"
        android:label="@string/app_name" >
        <intent-filter>
            <action android:name="android.intent.action.MAIN" />

            <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>
    </activity>
</application>

Was it helpful?

Solution

BlackBerry Plug-in 1.3 Beta is not compatible with ADT (Android Development Tools) version 21. I also experienced this bug on both Windows 7 and Mac OS 10.7.5.

After an hour I finally found a solution (workaround):

  1. Uninstall ADT and BlackBerry plug-in from Eclipse
  2. Manually download ADT 20 from here
  3. Install ADT as Eclipse plug-in from the downloaded archive
  4. Install BlackBerry plug-in 1.3 Beta

Please note that I have also posted the solution with more details at my personal site

OTHER TIPS

Did you install beta version of BB plugin for eclipse? please refer this link for more.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top