Android运行时android.content.res.Resources$NotFoundException: Resource ID #0x7f0f00b3 type #0x12 错误
来源:互联网 发布:mysql中syntax error 编辑:程序博客网 时间:2024/06/07 15:59
在Android工程进行build没出现问题,但是在运行的时候出现以下错误
android.content.res.Resources$NotFoundException: Resource ID #0x7f0f00b3 type #0x12 is not valid
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2572)at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2654)
at android.app.ActivityThread.-wrap11(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1488)
.......
经过排查,是在新添加的activity里面,该引用R.layout.XXX的地方,我惯性的写成了R.id.XXX了, 这种低级错误,很是头疼,在此,希望能够通过记录的方式,警告自己不要再犯,同时也希望能够帮助到大家
阅读全文
0 0
- Android运行时android.content.res.Resources$NotFoundException: Resource ID #0x7f0f00b3 type #0x12 错误
- android.content.res.Resources$NotFoundException:Resource ID #0x7f080004 type #0x12 is not valid问题解决
- android.content.res.Resources$NotFoundException: Resource ID #0x7f09000a type #0x12 is not valid
- android.content.res.Resources$NotFoundException: Resource ID #0x0,错误
- Android: android.content.res.Resources$NotFoundException: Resource ID #0x7f030009
- android.content.res.Resources$NotFoundException: Resource ID #0x7f030010
- android.content.res.Resources$NotFoundException: String resource ID #0x6d
- android.content.res.Resources$NotFoundException:String resource ID #0x86
- android.content.res.Resources$NotFoundException: String resource ID #0x1
- android.content.res.Resources$NotFoundException: String resource ID #0x0
- android.content.res.Resources$NotFoundException: String resource ID #0x0
- android.content.res.Resources$NotFoundException: String resource ID #0x7f050016
- android.content.res.Resources$NotFoundException:String resource ID #0x86
- android.content.res.Resources$NotFoundException:String resource ID #0x446
- android.content.res.Resources$NotFoundException: String resource ID #0x1
- android.content.res.Resources$NotFoundException: String resource ID #0x1
- android.content.res.Resources$NotFoundException: String resource ID #0x1
- android.content.res.Resources$NotFoundException: String resource ID #0x42
- LeetCode笔记:176. Second Highest Salary
- 各类排序算法比较和应用场景
- 第三课记录 大数据学习路线
- pyinstaller安装与使用
- spring boot的使用以及环境配置
- Android运行时android.content.res.Resources$NotFoundException: Resource ID #0x7f0f00b3 type #0x12 错误
- 设置Dos窗口标题
- [Zigbee]Z-stack Zed 失去节点之后的流程
- QT的UDP通信编程实例
- invalid bit code signature
- 懒惰的苏珊 UVa1620
- java原子更新器AtomicReferenceFieldUpdater的使用
- MFC实现ffmpeg流媒体数据推送与接收(1.获取设备)
- Java8-函数式接口理解及测试