我无法删除 android:roundIcon="@mipmap/ic_launcher_round";来自 AndroidManifest.xml [英] I can't delete android:roundIcon="@mipmap/ic_launcher_round" from AndroidManifest.xml

查看:47
本文介绍了我无法删除 android:roundIcon="@mipmap/ic_launcher_round";来自 AndroidManifest.xml的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用 targetSdkVersion="22" 构建了一个项目但错误来了

i build a project with targetSdkVersion="22" but the error is come

error: attribute 'android:roundIcon' not found.

我尝试删除 AndroidManifest.xml 中的 android:roundIcon="@mipmap/ic_launcher_round" 但如果我再次尝试构建它会重新出现.然后我尝试删除 mipmap 目录中的 ic_launcher_round 但错误仍然相同并且代码仍然重新出现.

i tried with deleting android:roundIcon="@mipmap/ic_launcher_round" at AndroidManifest.xml but it reappears if i try to build again. then i tried to delete ic_launcher_round at mipmap directory but the error is still same and the code is still reappears.

推荐答案

您可能正在编辑 缓存 AndroidManifest.xml 文件之一.

You are probably editing one of the cached AndroidManifest.xml files.

确保您编辑了项目中的文件.IE.打开文件时仔细查看路径.它是您项目的一部分还是某些生成的东西?

Make sure you edit the file in your project. I.e. Look carefully on the path when you open the file. Is it part of your project or some generated stuff?

这篇关于我无法删除 android:roundIcon="@mipmap/ic_launcher_round";来自 AndroidManifest.xml的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆