开发者社区> 问答> 正文

android求告知报出来的这是什么错误??完全没提到自己的代码啊

10-07 21:05:32.704  22810-22810/com.seedxyx.noteinfingers E/AndroidRuntime﹕ FATAL EXCEPTION: main
    java.lang.NullPointerException
            at android.view.ViewGroup.dispatchVisibilityChanged(ViewGroup.java:1029)
            at android.view.ViewGroup.dispatchVisibilityChanged(ViewGroup.java:1029)
            at android.view.ViewGroup.dispatchVisibilityChanged(ViewGroup.java:1029)
            at android.view.ViewGroup.dispatchVisibilityChanged(ViewGroup.java:1029)
            at android.view.ViewGroup.dispatchVisibilityChanged(ViewGroup.java:1029)
            at android.view.ViewGroup.dispatchVisibilityChanged(ViewGroup.java:1029)
            at android.view.ViewGroup.dispatchVisibilityChanged(ViewGroup.java:1029)
            at android.view.View.setFlags(View.java:8370)
            at android.view.View.setVisibility(View.java:5512)
            at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:2638)
            at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2097)
            at android.app.ActivityThread.access$600(ActivityThread.java:133)
            at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1203)
            at android.os.Handler.dispatchMessage(Handler.java:99)
            at android.os.Looper.loop(Looper.java:137)
            at android.app.ActivityThread.main(ActivityThread.java:4794)
            at java.lang.reflect.Method.invokeNative(Native Method)
            at java.lang.reflect.Method.invoke(Method.java:511)
            at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:789)
            at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:556)
            at dalvik.system.NativeStart.main(Native Method)

app突然就刚进去就崩溃了,这是个什么错误?

展开
收起
爵霸 2016-06-01 14:40:14 2336 0
1 条回答
写回答
取消 提交回答
  • 这个说明是的布局文件(xml)那个地方出错了,clean一下

    答案来源于网络

    2019-09-29 17:56:54
    赞同 展开评论 打赏
问答分类:
问答标签:
问答地址:
问答排行榜
最热
最新

相关电子书

更多
58同城Android客户端Walle框架演进与实践之路 立即下载
Android组件化实现 立即下载
蚂蚁聚宝Android秒级编译——Freeline 立即下载