android启动时出现The application has stopped unexpectedly.
android启动时出现Theapplication视频播放器(processcn.tcjt.play)hasstoppedunexpectedly.logcat如下:E...
android启动时出现The application 视频播放器(process cn.tcjt.play)has stopped unexpectedly.
logcat如下:
ERROR/AndroidRuntime(849): ERROR: thread attach failed
ERROR/AndroidRuntime(876): Uncaught handler: thread main exiting due to uncaught exception
12-02 08:57:47.807: ERROR/AndroidRuntime(876): java.lang.RuntimeException: Unable to start activity ComponentInfo{cn.tcjt.play/cn.tcjt.play.MainActivity}: android.view.InflateException: Binary XML file line #23: Error inflating class android.widget.ImageButton
12-02 08:57:47.807: ERROR/AndroidRuntime(876): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2454)
12-02 08:57:47.807: ERROR/AndroidRuntime(876): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2470)
12-02 08:57:47.807: ERROR/AndroidRuntime(876): at android.app.ActivityThread.access$2200(ActivityThread.java:119)
12-02 08:57:47.807: ERROR/AndroidRuntime(876): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1821)
12-02 08:57:47.807: ERROR/AndroidRuntime(876): at android.os.Handler.dispatchMessage(Handler.java:99)
12-02 08:57:47.807: ERROR/AndroidRuntime(876): at android.os.Looper.loop(Looper.java:123)
12-02 08:57:47.807: ERROR/AndroidRuntime(876): at android.app.ActivityThread.main(ActivityThread.java:4310)
12-02 08:57:47.807: ERROR/AndroidRuntime(876): at java.lang.reflect.Method.invokeNative(Native Method)
12-02 08:57:47.807: ERROR/AndroidRuntime(876): at java.lang.reflect.Method.invoke(Method.java:521)
12-02 08:57:47.807: ERROR/AndroidRuntime(876): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
12-02 08:57:47.807: ERROR/AndroidRuntime(876): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
12-02 08:57:47.807: ERROR/AndroidRuntime(876): at dalvik.system.NativeStart.main(Native Method)
12-02 08:57:47.807: ERROR/AndroidRuntime(876): Caused by: android.view.InflateException: Binary XML file line #23: Error inflating class android.widget.ImageButton
12-02 08:57:47.807: ERROR/AndroidRuntime(876): 展开
logcat如下:
ERROR/AndroidRuntime(849): ERROR: thread attach failed
ERROR/AndroidRuntime(876): Uncaught handler: thread main exiting due to uncaught exception
12-02 08:57:47.807: ERROR/AndroidRuntime(876): java.lang.RuntimeException: Unable to start activity ComponentInfo{cn.tcjt.play/cn.tcjt.play.MainActivity}: android.view.InflateException: Binary XML file line #23: Error inflating class android.widget.ImageButton
12-02 08:57:47.807: ERROR/AndroidRuntime(876): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2454)
12-02 08:57:47.807: ERROR/AndroidRuntime(876): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2470)
12-02 08:57:47.807: ERROR/AndroidRuntime(876): at android.app.ActivityThread.access$2200(ActivityThread.java:119)
12-02 08:57:47.807: ERROR/AndroidRuntime(876): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1821)
12-02 08:57:47.807: ERROR/AndroidRuntime(876): at android.os.Handler.dispatchMessage(Handler.java:99)
12-02 08:57:47.807: ERROR/AndroidRuntime(876): at android.os.Looper.loop(Looper.java:123)
12-02 08:57:47.807: ERROR/AndroidRuntime(876): at android.app.ActivityThread.main(ActivityThread.java:4310)
12-02 08:57:47.807: ERROR/AndroidRuntime(876): at java.lang.reflect.Method.invokeNative(Native Method)
12-02 08:57:47.807: ERROR/AndroidRuntime(876): at java.lang.reflect.Method.invoke(Method.java:521)
12-02 08:57:47.807: ERROR/AndroidRuntime(876): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
12-02 08:57:47.807: ERROR/AndroidRuntime(876): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
12-02 08:57:47.807: ERROR/AndroidRuntime(876): at dalvik.system.NativeStart.main(Native Method)
12-02 08:57:47.807: ERROR/AndroidRuntime(876): Caused by: android.view.InflateException: Binary XML file line #23: Error inflating class android.widget.ImageButton
12-02 08:57:47.807: ERROR/AndroidRuntime(876): 展开
展开全部
Unable to start activity ComponentInfo{cn.tcjt.play/cn.tcjt.play.MainActivity}: android.view.InflateException: Binary XML file line #23: Error inflating class android.widget.ImageButton
Log上看是你xml里解析到这里出错了,你先看看你的xml文件。
如果确认没错,也许是Eclipse或你编译的时候编译没有同步,刷新下项目再编译一次
Log上看是你xml里解析到这里出错了,你先看看你的xml文件。
如果确认没错,也许是Eclipse或你编译的时候编译没有同步,刷新下项目再编译一次
展开全部
换个播放器,重装。这个播放器文件坏了。
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
1 换个播放器
2 刷机重装播放器
2 刷机重装播放器
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
1 换个播放器
2 刷机重装播放器
2 刷机重装播放器
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询
广告 您可能关注的内容 |