这是我的logcat:
06-10 16:18:55.964: E/Trace(1442): error opening trace file: No such file or directory (2)
06-10 16:18:56.074: D/AndroidRuntime(1442): Shutting down VM
06-10 16:18:56.074: W/dalvikvm(1442): threadid=1: thread exiting with uncaught exception (group=0x40a71930)
06-10 16:18:56.134: E/AndroidRuntime(1442): FATAL EXCEPTION: main
06-10 16:18:56.134: E/AndroidRuntime(1442): java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.example.fragmenttest/com.example.fragmenttest.FragmentTest}: java.lang.ClassNotFoundException: Didn't find class "com.example.fragmenttest.FragmentTest" on path: /data/app/com.example.fragmenttest-2.apk
06-10 16:18:56.134: E/AndroidRuntime(1442): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2106)
06-10 16:18:56.134: E/AndroidRuntime(1442): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2230)
06-10 16:18:56.134: E/AndroidRuntime(1442): at android.app.ActivityThread.access$600(ActivityThread.java:141)
06-10 16:18:56.134: E/AndroidRuntime(1442): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1234)
06-10 16:18:56.134: E/AndroidRuntime(1442): at android.os.Handler.dispatchMessage(Handler.java:99)
06-10 16:18:56.134: E/AndroidRuntime(1442): at android.os.Looper.loop(Looper.java:137)
06-10 16:18:56.134: E/AndroidRuntime(1442): at android.app.ActivityThread.main(ActivityThread.java:5041)
06-10 16:18:56.134: E/AndroidRuntime(1442): at java.lang.reflect.Method.invokeNative(Native Method)
06-10 16:18:56.134: E/AndroidRuntime(1442): at java.lang.reflect.Method.invoke(Method.java:511)
06-10 16:18:56.134: E/AndroidRuntime(1442): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
06-10 16:18:56.134: E/AndroidRuntime(1442): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)
06-10 16:18:56.134: E/AndroidRuntime(1442): at dalvik.system.NativeStart.main(Native Method)
06-10 16:18:56.134: E/AndroidRuntime(1442): Caused by: java.lang.ClassNotFoundException: Didn't find class "com.example.fragmenttest.FragmentTest" on path: /data/app/com.example.fragmenttest-2.apk
06-10 16:18:56.134: E/AndroidRuntime(1442): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:65)
06-10 16:18:56.134: E/AndroidRuntime(1442): at java.lang.ClassLoader.loadClass(ClassLoader.java:501)
06-10 16:18:56.134: E/AndroidRuntime(1442): at java.lang.ClassLoader.loadClass(ClassLoader.java:461)
06-10 16:18:56.134: E/AndroidRuntime(1442): at android.app.Instrumentation.newActivity(Instrumentation.java:1054)
06-10 16:18:56.134: E/AndroidRuntime(1442): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2097)
06-10 16:18:56.134: E/AndroidRuntime(1442): ... 11 more
06-10 16:26:38.134: E/Trace(1594): error opening trace file: No such file or directory (2)
06-10 16:26:38.294: D/AndroidRuntime(1594): Shutting down VM
06-10 16:26:38.294: W/dalvikvm(1594): threadid=1: thread exiting with uncaught exception (group=0x40a71930)
06-10 16:26:38.325: E/AndroidRuntime(1594): FATAL EXCEPTION: main
06-10 16:26:38.325: E/AndroidRuntime(1594): java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.example.fragmenttest/com.example.fragmenttest.FragmentTest}: java.lang.ClassNotFoundException: Didn't find class "com.example.fragmenttest.FragmentTest" on path: /data/app/com.example.fragmenttest-1.apk
06-10 16:26:38.325: E/AndroidRuntime(1594): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2106)
06-10 16:26:38.325: E/AndroidRuntime(1594): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2230)
06-10 16:26:38.325: E/AndroidRuntime(1594): at android.app.ActivityThread.access$600(ActivityThread.java:141)
06-10 16:26:38.325: E/AndroidRuntime(1594): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1234)
06-10 16:26:38.325: E/AndroidRuntime(1594): at android.os.Handler.dispatchMessage(Handler.java:99)
06-10 16:26:38.325: E/AndroidRuntime(1594): at android.os.Looper.loop(Looper.java:137)
06-10 16:26:38.325: E/AndroidRuntime(1594): at android.app.ActivityThread.main(ActivityThread.java:5041)
06-10 16:26:38.325: E/AndroidRuntime(1594): at java.lang.reflect.Method.invokeNative(Native Method)
06-10 16:26:38.325: E/AndroidRuntime(1594): at java.lang.reflect.Method.invoke(Method.java:511)
06-10 16:26:38.325: E/AndroidRuntime(1594): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
06-10 16:26:38.325: E/AndroidRuntime(1594): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)
06-10 16:26:38.325: E/AndroidRuntime(1594): at dalvik.system.NativeStart.main(Native Method)
06-10 16:26:38.325: E/AndroidRuntime(1594): Caused by: java.lang.ClassNotFoundException: Didn't find class "com.example.fragmenttest.FragmentTest" on path: /data/app/com.example.fragmenttest-1.apk
06-10 16:26:38.325: E/AndroidRuntime(1594): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:65)
06-10 16:26:38.325: E/AndroidRuntime(1594): at java.lang.ClassLoader.loadClass(ClassLoader.java:501)
06-10 16:26:38.325: E/AndroidRuntime(1594): at java.lang.ClassLoader.loadClass(ClassLoader.java:461)
06-10 16:26:38.325: E/AndroidRuntime(1594): at android.app.Instrumentation.newActivity(Instrumentation.java:1054)
06-10 16:26:38.325: E/AndroidRuntime(1594): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2097)
06-10 16:26:38.325: E/AndroidRuntime(1594): ... 11 more