运行安卓模拟器出现unfortunately has stopped
下面是LogCat出现的消息05-0222:24:57.830:D/AndroidRuntime(889):ShuttingdownVM05-0222:24:57.870...
下面是LogCat出现的消息
05-02 22:24:57.830: D/AndroidRuntime(889): Shutting down VM
05-02 22:24:57.870: W/dalvikvm(889): threadid=1: thread exiting with uncaught exception (group=0x414c4700)
05-02 22:24:57.890: E/AndroidRuntime(889): FATAL EXCEPTION: main
05-02 22:24:57.890: E/AndroidRuntime(889): java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.example.login1/com.example.login1.MainActivity}: java.lang.ClassNotFoundException: Didn't find class "com.example.login1.MainActivity" on path: DexPathList[[zip file "/data/app/com.example.login1-1.apk"],nativeLibraryDirectories=[/data/app-lib/com.example.login1-1, /system/lib]]
05-02 22:24:57.890: E/AndroidRuntime(889): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2137)
05-02 22:24:57.890: E/AndroidRuntime(889): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2261)
05-02 22:24:57.890: E/AndroidRuntime(889): at android.app.ActivityThread.access$600(ActivityThread.java:141)
05-02 22:24:57.890: E/AndroidRuntime(889): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1256)
05-02 22:24:57.890: E/AndroidRuntime(889): at android.os.Handler.dispatchMessage(Handler.java:99)
05-02 22:24:57.890: E/AndroidRuntime(889): at android.os.Looper.loop(Looper.java:137)
05-02 22:24:57.890: E/AndroidRuntime(889): at android.app.ActivityThread.main(ActivityThread.java:5103)
05-02 22:24:57.890: E/AndroidRuntime(889): at java.lang.reflect.Method.invokeNative(Native Method)
05-02 22:24:57.890: E/AndroidRuntime(889): at java.lang.reflect.Method.invoke(Method.java:525)
05-02 22:24:57.890: E/AndroidRuntime(889): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:737)
05-02 22:24:57.890: E/AndroidRuntime(889): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
05-02 22:24:57.890: E/AndroidRuntime(889): at dalvik.system.NativeStart.main(Native Method)
05-02 22:24:57.890: E/AndroidRuntime(889): Caused by: java.lang.ClassNotFoundException: Didn't find class "com.example.login1.MainActivity" on path: DexPathList[[zip file "/data/app/com.example.login1-1.apk"],nativeLibraryDirectories=[/data/app-lib/com.example.login1-1, /system/lib]]
05-02 22:24:57.890: E/AndroidRuntime(889): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:53)
05-02 22:24:57.890: E/AndroidRuntime(889): at java.lang.ClassLoader.loadClass(ClassLoader.java:501)
05-02 22:24:57.890: E/AndroidRuntime(889): at java.lang.ClassLoader.loadClass(ClassLoader.java:461)
05-02 22:24:57.890: E/AndroidRuntime(889): at android.app.Instrumentation.newActivity(Instrumentation.java:1061)
05-02 22:24:57.890: E/AndroidRuntime(889): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2128)
05-02 22:24:57.890: E/AndroidRuntime(889): ... 11 more
新人刚开始自学安卓 很多都不懂 求各位前辈大神指点 谢谢啦 展开
05-02 22:24:57.830: D/AndroidRuntime(889): Shutting down VM
05-02 22:24:57.870: W/dalvikvm(889): threadid=1: thread exiting with uncaught exception (group=0x414c4700)
05-02 22:24:57.890: E/AndroidRuntime(889): FATAL EXCEPTION: main
05-02 22:24:57.890: E/AndroidRuntime(889): java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.example.login1/com.example.login1.MainActivity}: java.lang.ClassNotFoundException: Didn't find class "com.example.login1.MainActivity" on path: DexPathList[[zip file "/data/app/com.example.login1-1.apk"],nativeLibraryDirectories=[/data/app-lib/com.example.login1-1, /system/lib]]
05-02 22:24:57.890: E/AndroidRuntime(889): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2137)
05-02 22:24:57.890: E/AndroidRuntime(889): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2261)
05-02 22:24:57.890: E/AndroidRuntime(889): at android.app.ActivityThread.access$600(ActivityThread.java:141)
05-02 22:24:57.890: E/AndroidRuntime(889): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1256)
05-02 22:24:57.890: E/AndroidRuntime(889): at android.os.Handler.dispatchMessage(Handler.java:99)
05-02 22:24:57.890: E/AndroidRuntime(889): at android.os.Looper.loop(Looper.java:137)
05-02 22:24:57.890: E/AndroidRuntime(889): at android.app.ActivityThread.main(ActivityThread.java:5103)
05-02 22:24:57.890: E/AndroidRuntime(889): at java.lang.reflect.Method.invokeNative(Native Method)
05-02 22:24:57.890: E/AndroidRuntime(889): at java.lang.reflect.Method.invoke(Method.java:525)
05-02 22:24:57.890: E/AndroidRuntime(889): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:737)
05-02 22:24:57.890: E/AndroidRuntime(889): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
05-02 22:24:57.890: E/AndroidRuntime(889): at dalvik.system.NativeStart.main(Native Method)
05-02 22:24:57.890: E/AndroidRuntime(889): Caused by: java.lang.ClassNotFoundException: Didn't find class "com.example.login1.MainActivity" on path: DexPathList[[zip file "/data/app/com.example.login1-1.apk"],nativeLibraryDirectories=[/data/app-lib/com.example.login1-1, /system/lib]]
05-02 22:24:57.890: E/AndroidRuntime(889): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:53)
05-02 22:24:57.890: E/AndroidRuntime(889): at java.lang.ClassLoader.loadClass(ClassLoader.java:501)
05-02 22:24:57.890: E/AndroidRuntime(889): at java.lang.ClassLoader.loadClass(ClassLoader.java:461)
05-02 22:24:57.890: E/AndroidRuntime(889): at android.app.Instrumentation.newActivity(Instrumentation.java:1061)
05-02 22:24:57.890: E/AndroidRuntime(889): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2128)
05-02 22:24:57.890: E/AndroidRuntime(889): ... 11 more
新人刚开始自学安卓 很多都不懂 求各位前辈大神指点 谢谢啦 展开
- 你的回答被采纳后将获得:
- 系统奖励15(财富值+成长值)+难题奖励10(财富值+成长值)+提问者悬赏5(财富值+成长值)
1个回答
2015-05-03
展开全部
楼主,没有找到相应的类呀
本回答被提问者采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询