ResourceType Style contains key with bad entry:0x01010479
来源:互联网 发布:睡衣推荐 知乎 编辑:程序博客网 时间:2024/06/06 17:59
This is because you are using theme attributes that were not present on the platform on which you are running your application. Despite the giant red error log that it adds, it's more of a warning as it does not affect the other attributes. The newer attributes are never read on the older platforms.
The linked question from me was my attempt to not have to require ABSv4 use mirrored attributes.
If you really want to get rid of the error you can create two sets of your styles. One invalues/
for the compatibility action bar and one in values-v14/
that use the prefixed attributes for the native action bar.
And please, please, please, please do not use maxSdkVersion
. UsetargetSdkVersion
instead.
大概意思就是两个页面的风格不一致造成的。
解决办法:新建一个value-v14的文件夹,然后你在其中再建一个style即可
- ResourceType Style contains key with bad entry:0x01010479
- 关于style bad Entry 的错误 (纠结了几天的bug!)
- Duplicate entry '0' for key 1
- Duplicate entry '0' for key 'PRIMARY'.
- Duplicate entry '0' for key 'PRIMARY'.
- Duplicate entry '0' for key 1错误
- Duplicate entry '0' for key 'PRIMARY'错误
- Duplicate entry '0' for key 'PRIMARY'
- Duplicate entry '0' for key 1
- Duplicate entry '0' for key 'PRIMARY'
- Duplicate entry '0-1' for key 'uq_type_month'
- Duplicate entry '0' for key 'PRIMARY'
- Duplicate entry '0' for key 'PRIMARY'
- Bad database entry 错误
- Bad database entry
- W/ResourceType( 1356): Bad XML block: header size 144 or total size 0 is larger than data size 0
- W/ResourceType( 4896): Bad XML block: header size 215 or total size 0 is larger than data size 0
- Duplicate entry for key
- web并发的一些理解。
- 1235 - This version of MySQL doesn't yet support 'LIMIT & IN/ALL/ANY/SOME subquery'
- 搜索- poj2965 The Pilots Brothers' refrigerator
- KMP
- Activity真正显示后回调onPostCreate方法
- ResourceType Style contains key with bad entry:0x01010479
- javascript基础总结(五)--闭包
- 第9题
- linux下IDE硬盘序列号的获取方法
- 从头到尾彻底理解KMP
- Android进程间通信 AIDL学习资料
- 移动支付漫谈
- Android Studio使用教程(一)
- Android 屏幕适配(英文版)20150420日更新