0

I got a problem running an app from ADT (eclipse) on a Asus Nexus 7. On an SGS 3 however no problem occurs. ADT outputs the following error:

[ - com.myorg.project.package] New package not yet registered with the system. Waiting 3 seconds before next attempt.
[ - com.myorg.project.package] Starting activity com.myorg.project.package.MyActivity on device XYZ
[ - com.myorg.project.package] ActivityManager: Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.myorg.project.package/.MyActivity }
[ - com.myorg.project.package] ActivityManager: Error type 3
[ - com.myorg.project.package] ActivityManager: Error: Activity class {om.myorg.project.package/com.myorg.project.package.MyActivity} does not exist.

I found the following similar questions:

and did everything suggested: Removing any old version, rebooting the device, cleaning the project, restarting IDE. But nothing worked for me. Since it works on the SGS 3 I can't imagine any bug in the code, but suspect the configuration or the Android Version to be the problem. I can however launch an example app on the Nexus 7 via the IDE.

The Nexus 7 runs Android 4.3. The SGS 3 runs Android 4.1.2. Both updated stock versions.

Any ideas on how to eliminate possible causes?

4

1 回答 1

0

问题是我有

<application
    android:enabled="false"/>

在我的 AndroidManifest.xml 中。这阻止了在带有 Android 4.3 的 Nexus 7 上的执行,但没有在带有 Android 4.1.2 的 SGS3 上执行。我不明白为什么这个属性在 SGS3 上被忽略并且可以找到它是否是在 4.3 中添加的(http://developer.android.com/guide/topics/manifest/application-element.html#enabled)。我希望这对某人有所帮助。

于 2013-08-26T14:32:30.660 回答