我在 cocos2d-x (jni, in c++) 中做了一周的应用程序
现在的问题是我无法运行它,无法在我的设备上测试它..
我收到此错误:
[2013-05-25 21:09:07 - PaperAgeAndroid] ------------------------------
[2013-05-25 21:09:07 - PaperAgeAndroid] Android Launch!
[2013-05-25 21:09:07 - PaperAgeAndroid] adb is running normally.
[2013-05-25 21:09:07 - PaperAgeAndroid] Performing es.rks.paperage.PaperAgeAndroid activity launch
[2013-05-25 21:09:07 - PaperAgeAndroid] Uploading PaperAgeAndroid.apk onto device '0123456789ABCDEF'
[2013-05-25 21:09:44 - PaperAgeAndroid] Installing PaperAgeAndroid.apk...
[2013-05-25 21:09:48 - PaperAgeAndroid] Installation error: INSTALL_FAILED_INSUFFICIENT_STORAGE
[2013-05-25 21:09:48 - PaperAgeAndroid] Please check logcat output for more details.
[2013-05-25 21:09:48 - PaperAgeAndroid] Launch failed on device: 0123456789ABCDEF
[2013-05-25 21:09:48 - PaperAgeAndroid] Starting activity es.rks.paperage.PaperAgeAndroid on device 0123456789ABCDEF
[2013-05-25 21:09:49 - PaperAgeAndroid] ActivityManager: Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=es.rks.paperage/.PaperAgeAndroid }
[2013-05-25 21:09:49 - PaperAgeAndroid] New package not yet registered with the system. Waiting 3 seconds before next attempt.
[2013-05-25 21:09:52 - PaperAgeAndroid] Starting activity es.rks.paperage.PaperAgeAndroid on device 0123456789ABCDEF
[2013-05-25 21:09:52 - PaperAgeAndroid] New package not yet registered with the system. Waiting 3 seconds before next attempt.
[2013-05-25 21:09:55 - PaperAgeAndroid] Starting activity es.rks.paperage.PaperAgeAndroid on device 0123456789ABCDEF
[2013-05-25 21:09:56 - PaperAgeAndroid] New package not yet registered with the system. Waiting 3 seconds before next attempt.
[2013-05-25 21:09:59 - PaperAgeAndroid] Starting activity es.rks.paperage.PaperAgeAndroid on device 0123456789ABCDEF
[2013-05-25 21:09:59 - PaperAgeAndroid] ActivityManager: Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=es.rks.paperage/.PaperAgeAndroid }
[2013-05-25 21:09:59 - PaperAgeAndroid] New package not yet registered with the system. Waiting 3 seconds before next attempt.
[2013-05-25 21:10:02 - PaperAgeAndroid] Starting activity es.rks.paperage.PaperAgeAndroid on device 0123456789ABCDEF
[2013-05-25 21:10:02 - PaperAgeAndroid] ActivityManager: Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=es.rks.paperage/.PaperAgeAndroid }
[2013-05-25 21:10:02 - PaperAgeAndroid] ActivityManager: Error type 3
[2013-05-25 21:10:02 - PaperAgeAndroid] ActivityManager: Error: Activity class {es.rks.paperage/es.rks.paperage.PaperAgeAndroid} does not exist.
我之前遇到过这个错误,但是从我的设备中删除应用程序修复了这个问题:S 现在我无法运行应用程序
是的,我已尝试清理项目并运行它,但我仍然遇到同样的问题
我的 Android 清单是:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="es.rks.paperage"
android:versionCode="1"
android:versionName="1.0">
<uses-sdk android:minSdkVersion="9"/>
<uses-feature android:glEsVersion="0x00020000" />
<application android:label="@string/app_name"
android:icon="@drawable/icon">
<activity android:name="PaperAgeAndroid"
android:label="@string/app_name"
android:screenOrientation="landscape"
android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
android:configChanges="orientation">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
<supports-screens android:largeScreens="true"
android:smallScreens="true"
android:anyDensity="true"
android:normalScreens="true"/>
</manifest>
我在 mac 上使用 Eclipse Juno
这是项目结构