いくつかのクラスファイルを移動したため、AndEngine で ClassNotFoundException が発生し続けます。また、修正できなかった後、これらの変更を元に戻しました。残念ながら元の状態には戻せません..
エラーログ:
12-22 13:55:57.201: D/AndroidRuntime(5527): Shutting down VM
12-22 13:55:57.201: W/dalvikvm(5527): threadid=1: thread exiting with uncaught exception (group=0x411c7300)
12-22 13:55:57.201: E/AndroidRuntime(5527): FATAL EXCEPTION: main
12-22 13:55:57.201: E/AndroidRuntime(5527): java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{de.uni_kassel.repopandroidclient/de.uni_kassel.repopandroidclient.LauncherController}: java.lang.ClassNotFoundException: de.uni_kassel.repopandroidclient.LauncherController
12-22 13:55:57.201: E/AndroidRuntime(5527): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1983)
12-22 13:55:57.201: E/AndroidRuntime(5527): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2084)
12-22 13:55:57.201: E/AndroidRuntime(5527): at android.app.ActivityThread.access$600(ActivityThread.java:130)
12-22 13:55:57.201: E/AndroidRuntime(5527): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1195)
12-22 13:55:57.201: E/AndroidRuntime(5527): at android.os.Handler.dispatchMessage(Handler.java:99)
12-22 13:55:57.201: E/AndroidRuntime(5527): at android.os.Looper.loop(Looper.java:137)
12-22 13:55:57.201: E/AndroidRuntime(5527): at android.app.ActivityThread.main(ActivityThread.java:4745)
12-22 13:55:57.201: E/AndroidRuntime(5527): at java.lang.reflect.Method.invokeNative(Native Method)
12-22 13:55:57.201: E/AndroidRuntime(5527): at java.lang.reflect.Method.invoke(Method.java:511)
12-22 13:55:57.201: E/AndroidRuntime(5527): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)
12-22 13:55:57.201: E/AndroidRuntime(5527): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
12-22 13:55:57.201: E/AndroidRuntime(5527): at dalvik.system.NativeStart.main(Native Method)
12-22 13:55:57.201: E/AndroidRuntime(5527): Caused by: java.lang.ClassNotFoundException: de.uni_kassel.repopandroidclient.LauncherController
12-22 13:55:57.201: E/AndroidRuntime(5527): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:61)
12-22 13:55:57.201: E/AndroidRuntime(5527): at java.lang.ClassLoader.loadClass(ClassLoader.java:501)
12-22 13:55:57.201: E/AndroidRuntime(5527): at java.lang.ClassLoader.loadClass(ClassLoader.java:461)
12-22 13:55:57.201: E/AndroidRuntime(5527): at android.app.Instrumentation.newActivity(Instrumentation.java:1053)
12-22 13:55:57.201: E/AndroidRuntime(5527): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1974)
12-22 13:55:57.201: E/AndroidRuntime(5527): ... 11 more
これが現在使用しているマニフェスト ファイルです。
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="de.uni_kassel.repopandroidclient"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk
android:minSdkVersion="8"
android:targetSdkVersion="16" />
<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<activity
android:name="de.uni_kassel.repopandroidclient.LauncherController"
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>
</manifest>