以下是来自开发者控制台的实际错误。我的启动器主题有一个应用程序,因此用户可以应用主题、联系我等...
java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{bigdx.golauncher.serenity.red/bigdx.golauncher.serenity.red}: java.lang.ClassNotFoundException: bigdx.golauncher.serenity.red in loader dalvik.system.PathClassLoader[/data/app/bigdx.golauncher.serenity.red-1.apk]
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1624)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1722)
at android.app.ActivityThread.access$1500(ActivityThread.java:124)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:974)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:130)
at android.app.ActivityThread.main(ActivityThread.java:3821)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:507)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.ClassNotFoundException: bigdx.golauncher.serenity.red in loader dalvik.system.PathClassLoader[/data/app/bigdx.golauncher.serenity.red-1.apk]
at dalvik.system.PathClassLoader.findClass(PathClassLoader.java:240)
at java.lang.ClassLoader.loadClass(ClassLoader.java:551)
at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
at android.app.Instrumentation.newActivity(Instrumentation.java:1021)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1616)
... 11 more
这是我的应用程序的 android 清单。第一次发帖的时候忘记加了
<?xml version="1.0" encoding="utf-8"?>
<manifest android:versionCode="11" android:versionName="4.4" package="bigdx.golauncher.serenity.red"
xmlns:android="http://schemas.android.com/apk/res/android">
<uses-sdk android:minSdkVersion="4" android:targetSdkVersion="7" />
<uses-permission android:name="android.permission.SET_WALLPAPER" />
<uses-permission android:name="android.permission.SET_WALLPAPER_HINTS" />
<application android:theme="@android:style/Theme.NoTitleBar" android:label="@string/theme_title" android:icon="@drawable/theme_icon">
<activity android:label="@string/app_name" android:name=".HelperActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="com.anddoes.launcher.THEME" />
</intent-filter>
</activity>
<activity android:label="@string/theme_title" android:name=".Icons" />
<activity android:label="@string/wp_theme_title" android:icon="@drawable/wallpaper_icon2" android:name=".Wallpaper" android:screenOrientation="nosensor" android:finishOnCloseSystemDialogs="true">
<intent-filter>
<action android:name="android.intent.action.SET_WALLPAPER" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<activity android:label="@string/theme_title" android:icon="@drawable/theme_icon" android:name=".Docks">
<intent-filter>
<action android:name="android.intent.action.PICK" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="image/*" />
</intent-filter>
</activity>
<activity android:label="@string/theme_title" android:icon="@drawable/theme_icon" android:name="bigdx.golauncher.serenity.red.GoLauncher">
<intent-filter>
<action android:name="com.gau.go.launcherex.theme" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<action android:name="com.gau.go.launcherex.theme.gowidget" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<provider android:name="bigdx.golauncher.serenity.red.DocksProvider" android:authorities="bigdx.golauncher.serenity.red.DocksProvider" />
<receiver android:label="@string/analog_gadget" android:icon="@drawable/ic_widget_analog_clock" android:name="bigdx.golauncher.serenity.red.AnalogClockWidget">
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
</intent-filter>
<meta-data android:name="android.appwidget.oldName" android:value="com.android.deskclock.AnalogAppWidgetProvider" />
<meta-data android:name="android.appwidget.provider" android:resource="@xml/analog_appwidget" />
</receiver>
</application>
</manifest>