首页 > 解决方案 > I can't delete android:roundIcon="@mipmap/ic_launcher_round" from AndroidManifest.xml

问题描述

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

error: attribute 'android:roundIcon' not found.

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.

标签: androidandroid-studio

解决方案


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

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?


推荐阅读