【发布时间】:2013-01-03 15:46:06
【问题描述】:
我正在尝试在我的 Blackberry Playbook 上调试移植的 android 应用程序,但每当我尝试以 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;
我不知道是什么导致了这个错误。该应用程序在 android 模拟器中运行良好,但不适用于黑莓工具。我尝试清理项目、更新 android SDK、重新启动 Eclipse 并重新安装 Blackberry 插件,但没有任何效果。有什么想法吗?
编辑:这是我的 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>
【问题讨论】:
-
设备上的调试令牌可能已过期。你检查了吗?
-
我在开始尝试测试时创建了调试令牌。我刚查了一下,12月12号就过期了。
-
嗯。您的清单文件中有什么?
-
如果将目标 sdk 版本从 15 更改为 10 会怎样?
-
我唯一建议的另一件事是尝试使用命令行工具或 BlackBerry Graphical Aid 或 DDPB 安装工具运行它。 (Eclipse 之外的任何东西。)否则,我没有想法。
标签: android eclipse adt blackberry-eclipse-plugin blackberry-android