AppCompatActivity android.content.res.Resources$NotFoundException: Resource ID #0x7f060052
来源:互联网 发布:淘宝上怎么购买av种子 编辑:程序博客网 时间:2024/05/22 03:59
用Android studio创建Android项目的时候 Activity继承 AppCompatActivity的时候报:java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.dell.myapplication/com.example.dell.myapplication.MainActivity}: android.content.res.Resources$NotFoundException: Resource ID #0x7f060052。
修改为继承Activity就不报错 这个时候在gradle.properties文件中添加
android.enableAapt2=false 就可以了参考:http://www.cnblogs.com/poe-blog/p/7154268.html
阅读全文
0 0
- AppCompatActivity android.content.res.Resources$NotFoundException: Resource ID #0x7f060052
- 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
- android.content.res.Resources$NotFoundException: String resource ID #0x0
- android.content.res.Resources$NotFoundException: String resource ID #0x1
- android.content.res.Resources$NotFoundException: String resource ID #0x0
- Fault
- JAVA中这些你都疏忽了吗?-标识符及其命名规范
- maven引起的xml Offending resource:
- PHP高效率写法
- ssh远程访问虚拟机中Ubuntu系统
- AppCompatActivity android.content.res.Resources$NotFoundException: Resource ID #0x7f060052
- 防护篇(5.4) 03. 防范 DDoS 攻击 ❀ 飞塔 (Fortinet) 防火墙
- React学习(三)数组变量
- Set集合笔记
- 设计模式原则(1):单一职责原则
- MYSQL的双主模型(主主复制)
- 面向对象的三大特征—多态
- 性能百万/s:腾讯轻量级全局流控方案详解
- Android TabLayout 使用详解