android开发出现The application has stoped unexpectedly.Logcat内容见补充03-27 01:46:34.531:D/AndroidRuntime(338):Shutting down VM03-27 01:46:34.531:W/dalvikvm(338):threadid=1:thread exiting with uncaught exception (group=0x4001d800)03-27 01:4

来源:学生作业帮助网 编辑:六六作业网 时间:2024/11/15 20:40:40
android开发出现Theapplicationhasstopedunexpectedly.Logcat内容见补充03-2701:46:34.531:D/AndroidRuntime(338):Sh

android开发出现The application has stoped unexpectedly.Logcat内容见补充03-27 01:46:34.531:D/AndroidRuntime(338):Shutting down VM03-27 01:46:34.531:W/dalvikvm(338):threadid=1:thread exiting with uncaught exception (group=0x4001d800)03-27 01:4
android开发出现The application has stoped unexpectedly.Logcat内容见补充
03-27 01:46:34.531:D/AndroidRuntime(338):Shutting down VM
03-27 01:46:34.531:W/dalvikvm(338):threadid=1:thread exiting with uncaught exception (group=0x4001d800)
03-27 01:46:34.552:E/AndroidRuntime(338):FATAL EXCEPTION:main
03-27 01:46:34.552:E/AndroidRuntime(338):java.lang.RuntimeException:Unable to start activity ComponentInfo{com.amaker.ch03/com.amaker.ch03.TestLayoutActivity}:android.view.InflateException:Binary XML file line #21:Error inflating class EditView
03-27 01:46:34.552:E/AndroidRuntime(338):\x05at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2663)
03-27 01:46:34.552:E/AndroidRuntime(338):\x05at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2679)
03-27 01:46:34.552:E/AndroidRuntime(338):\x05at android.app.ActivityThread.access$2300(ActivityThread.java:125)
03-27 01:46:34.552:E/AndroidRuntime(338):\x05at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2033)
03-27 01:46:34.552:E/AndroidRuntime(338):\x05at android.os.Handler.dispatchMessage(Handler.java:99)
03-27 01:46:34.552:E/AndroidRuntime(338):\x05at android.os.Looper.loop(Looper.java:123)
03-27 01:46:34.552:E/AndroidRuntime(338):\x05at android.app.ActivityThread.main(ActivityThread.java:4627)
03-27 01:46:34.552:E/AndroidRuntime(338):\x05at java.lang.reflect.Method.invokeNative(Native Method)
03-27 01:46:34.552:E/AndroidRuntime(338):\x05at java.lang.reflect.Method.invoke(Method.java:521)
03-27 01:46:34.552:E/AndroidRuntime(338):\x05at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
03-27 01:46:34.552:E/AndroidRuntime(338):\x05at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
03-27 01:46:34.552:E/AndroidRuntime(338):\x05at dalvik.system.NativeStart.main(Native Method)
03-27 01:46:34.552:E/AndroidRuntime(338):Caused by:android.view.InflateException:Binary XML file line #21:Error inflating class EditView
03-27 01:46:34.552:E/AndroidRuntime(338):\x05at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:576)
03-27 01:46:34.552:E/AndroidRuntime(338):\x05at android.view.LayoutInflater.rInflate(LayoutInflater.java:618)
03-27 01:46:34.552:E/AndroidRuntime(338):\x05at android.view.LayoutInflater.rInflate(LayoutInflater.java:621)
03-27 01:46:34.552:E/AndroidRuntime(338):\x05at android.view.LayoutInflater.rInflate(LayoutInflater.java:621)
03-27 01:46:34.552:E/AndroidRuntime(338):\x05at android.view.LayoutInflater.inflate(LayoutInflater.java:407)
03-27 01:46:34.552:E/AndroidRuntime(338):\x05at android.view.LayoutInflater.inflate(LayoutInflater.java:320)
03-27 01:46:34.552:E/AndroidRuntime(338):\x05at android.view.LayoutInflater.inflate(LayoutInflater.java:276)
03-27 01:46:34.552:E/AndroidRuntime(338):\x05at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:198)
03-27 01:46:34.552:E/AndroidRuntime(338):\x05at android.app.Activity.setContentView(Activity.java:1647)
(后面还有)

android开发出现The application has stoped unexpectedly.Logcat内容见补充03-27 01:46:34.531:D/AndroidRuntime(338):Shutting down VM03-27 01:46:34.531:W/dalvikvm(338):threadid=1:thread exiting with uncaught exception (group=0x4001d800)03-27 01:4
错误信息说明了你的Activity中有错误. com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:198)
是具体的出错位置,其他的错误信息都是由于这个错误而导致的系统错误,那些不用管,你只要把这个错误修正了,就行了