26、Error:No resource identifier found for attribute 'roundIcon' in package 'android'
2017-10-24 18:25
579 查看
一、问题详情:
在项目开发过程中,修改了下:
compileSdkVersion 和 targetSdkVersion 由原来版本的25 调整到 23,
![](https://oscdn.geek-share.com/Uploads/Images/Content/201911/15/2f66e5b40d664ab90f49ffbed9b54255)
结果悲剧了,直接报这样的错误;
![](https://oscdn.geek-share.com/Uploads/Images/Content/201911/15/0f27fdafdb0a5572de66aa9cbe80a77f)
二、问题原因:
经过分析:
在 AndroidManifest 文件中 application 节点下
android:roundIcon="@mipmap/ic_launcher_round",
23版本是不支持 设置圆形icon,android:roundIcon 这个属性是 25 版本的新特性,
三、问题解决:
直接删除 android:roundIcon ,成功解决
在项目开发过程中,修改了下:
compileSdkVersion 和 targetSdkVersion 由原来版本的25 调整到 23,
结果悲剧了,直接报这样的错误;
二、问题原因:
经过分析:
在 AndroidManifest 文件中 application 节点下
android:roundIcon="@mipmap/ic_launcher_round",
23版本是不支持 设置圆形icon,android:roundIcon 这个属性是 25 版本的新特性,
三、问题解决:
直接删除 android:roundIcon ,成功解决
相关文章推荐
- Error:No resource identifier found for attribute 'roundIcon' in package 'android'
- Error:(15) No resource identifier found for attribute 'roundIcon' in package 'android'
- Android studio 开发遇到Error:No resource identifier found for attribute 'roundIcon' in package 'android'
- android报Error:No resource identifier found for attribute 'roundIcon' in package 'android'错误解决方法
- Error:No resource identifier found for attribute 'roundIcon' in package 'Android' 问题解决
- 升级Androidstudio2.3报Error:No resource identifier found for attribute 'roundIcon' in package 'android'
- Error:No resource identifier found for attribute 'roundIcon' in package 'Android' 问题解决
- error: No resource identifier found for attribute 'onclick' in package 'android'
- error: No resource identifier found for attribute ‘backIcon’ in package
- error: No resource identifier found for attribute ‘backIcon’ in package
- 出现的问题:error: No resource identifier found for attribute 'layou_width' in package 'android'
- error: No resource identifier found for attribute 'widgetCategory' in package 'android'
- 报错Error:(11) No resource identifier found for attribute 'roundIcon' in package
- error: No resource identifier found for attribute 'layout_with' in package 'android'
- error: No resource identifier found for attribute ‘backIcon’ in package
- error: No resource identifier found for attribute 'backgroud' in package 'android'
- 关于android自定义View时报error: No resource identifier found for attribute ‘XXX’ in package ‘
- error no resource identifier found for attribute 'indeterminateTint' in package 'android'
- error: No resource identifier found for attribute 'format24Hour' in package 'android'