我每次在調試器中啓動我的程序時都會收到一個ActivityThread.performLaunchActivity(ActivityThread $ ActivityRecord,Intent)錯誤。該計劃甚至不會啓動!任何幫助將不勝感激!我對這個環境很陌生。讓我知道你是否需要任何信息/代碼來幫助我。錯誤Android:ActivityThread.performLaunchActivity錯誤
01-08 06:01:33.812: D/AndroidRuntime(674): Shutting down VM
01-08 06:01:33.822: W/dalvikvm(674): threadid=1: thread exiting with uncaught exception (group=0x409c01f8)
01-08 06:01:33.892: E/AndroidRuntime(674): FATAL EXCEPTION: main
01-08 06:01:33.892: E/AndroidRuntime(674): java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{Proyecto.Prueba1/Proyecto.Prueba1.ProyectoActivity}: java.lang.ClassNotFoundException: Proyecto.Prueba1.ProyectoActivity
01-08 06:01:33.892: E/AndroidRuntime(674): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1880)
01-08 06:01:33.892: E/AndroidRuntime(674): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1981)
01-08 06:01:33.892: E/AndroidRuntime(674): at android.app.ActivityThread.access$600(ActivityThread.java:123)
01-08 06:01:33.892: E/AndroidRuntime(674): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1147)
01-08 06:01:33.892: E/AndroidRuntime(674): at android.os.Handler.dispatchMessage(Handler.java:99)
01-08 06:01:33.892: E/AndroidRuntime(674): at android.os.Looper.loop(Looper.java:137)
01-08 06:01:33.892: E/AndroidRuntime(674): at android.app.ActivityThread.main(ActivityThread.java:4424)
01-08 06:01:33.892: E/AndroidRuntime(674): at java.lang.reflect.Method.invokeNative(Native Method)
01-08 06:01:33.892: E/AndroidRuntime(674): at java.lang.reflect.Method.invoke(Method.java:511)
01-08 06:01:33.892: E/AndroidRuntime(674): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
01-08 06:01:33.892: E/AndroidRuntime(674): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
01-08 06:01:33.892: E/AndroidRuntime(674): at dalvik.system.NativeStart.main(Native Method)
01-08 06:01:33.892: E/AndroidRuntime(674): Caused by: java.lang.ClassNotFoundException: Proyecto.Prueba1.ProyectoActivity
01-08 06:01:33.892: E/AndroidRuntime(674): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:61)
01-08 06:01:33.892: E/AndroidRuntime(674): at java.lang.ClassLoader.loadClass(ClassLoader.java:501)
01-08 06:01:33.892: E/AndroidRuntime(674): at java.lang.ClassLoader.loadClass(ClassLoader.java:461)
01-08 06:01:33.892: E/AndroidRuntime(674): at android.app.Instrumentation.newActivity(Instrumentation.java:1023)
01-08 06:01:33.892: E/AndroidRuntime(674): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1871)
01-08 06:01:33.892: E/AndroidRuntime(674): ... 11 more
你可以在活動中粘貼代碼嗎? – Pramod 2012-01-08 06:13:59