Daisy_qingyan 2018-01-23 12:01 采纳率: 0%
浏览 6483
已结题

FATAL EXCEPTION: main

01-23 18:51:50.071: E/AndroidRuntime(10954): FATAL EXCEPTION: main
01-23 18:51:50.071: E/AndroidRuntime(10954): Process: com.example.gps1, PID: 10954
01-23 18:51:50.071: E/AndroidRuntime(10954): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.gps1/com.example.gps1.MainActivity}: android.content.res.Resources$NotFoundException: Resource ID #0x7f070000 type #0x12 is not valid
01-23 18:51:50.071: E/AndroidRuntime(10954): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2187)
01-23 18:51:50.071: E/AndroidRuntime(10954): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2236)
01-23 18:51:50.071: E/AndroidRuntime(10954): at android.app.ActivityThread.access$800(ActivityThread.java:138)
01-23 18:51:50.071: E/AndroidRuntime(10954): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1199)
01-23 18:51:50.071: E/AndroidRuntime(10954): at android.os.Handler.dispatchMessage(Handler.java:102)
01-23 18:51:50.071: E/AndroidRuntime(10954): at android.os.Looper.loop(Looper.java:136)
01-23 18:51:50.071: E/AndroidRuntime(10954): at android.app.ActivityThread.main(ActivityThread.java:5095)
01-23 18:51:50.071: E/AndroidRuntime(10954): at java.lang.reflect.Method.invokeNative(Native Method)
01-23 18:51:50.071: E/AndroidRuntime(10954): at java.lang.reflect.Method.invoke(Method.java:515)
01-23 18:51:50.071: E/AndroidRuntime(10954): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)
01-23 18:51:50.071: E/AndroidRuntime(10954): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:602)
01-23 18:51:50.071: E/AndroidRuntime(10954): at dalvik.system.NativeStart.main(Native Method)
01-23 18:51:50.071: E/AndroidRuntime(10954): Caused by: android.content.res.Resources$NotFoundException: Resource ID #0x7f070000 type #0x12 is not valid
01-23 18:51:50.071: E/AndroidRuntime(10954): at android.content.res.Resources.loadXmlResourceParser(Resources.java:2314)
01-23 18:51:50.071: E/AndroidRuntime(10954): at android.content.res.Resources.getLayout(Resources.java:939)
01-23 18:51:50.071: E/AndroidRuntime(10954): at android.view.LayoutInflater.inflate(LayoutInflater.java:395)
FATAL EXCEPTION: mainPava.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.gps1/com.example.gps1.MainActivity}: android.content.res.Resources$NotFoundException: Resource ID #0x7f070000

  • 写回答

6条回答 默认 最新

  • qpbn10 2018-01-23 12:08
    关注

    那是问什么?
    log没贴全,native crash的现场信息没有贴
    AndroidRuntime(10954): Process: com.example.gps1, PID: 10954 <----- 这个进程挂了

    搜“Android native crash”有很多详细的教程,还有分析这种问题的debug工具

    评论

报告相同问题?

悬赏问题

  • ¥15 用verilog实现tanh函数和softplus函数
  • ¥15 求京东批量付款能替代天诚
  • ¥15 slaris 系统断电后,重新开机后一直自动重启
  • ¥15 谁能帮我看看这拒稿理由啥意思啊阿啊
  • ¥15 关于vue2中methods使用call修改this指向的问题
  • ¥15 idea自动补全键位冲突
  • ¥15 请教一下写代码,代码好难
  • ¥15 iis10中如何阻止别人网站重定向到我的网站
  • ¥15 滑块验证码移动速度不一致问题
  • ¥15 Utunbu中vscode下cern root工作台中写的程序root的头文件无法包含