ic_launcher_round.xml中的Android Studio仿真器无法正常工作

时间:2019-05-23 02:06:16

标签: android xml android-studio

我在android studio中的模拟器有问题。它显示文件ic_launcher_round.xml中的错误。说这个文件编译失败,必须在xml代码中声明该元素。

ic_launcher_round.xml文件中的

代码:

<component name="libraryTable">
    <library name="Gradle: android.arch.lifecycle:livedata-core:1.1.1@aar">
        <CLASSES>
            <root url="jar://$USER_HOME$/.gradle/caches/transforms-2/files-2.1/29f26e9a69885b61025619da3a205e0c/jars/classes.jar!/" />
            <root url= "file"

谢谢

Here is the xml file

Here is the error statement

1 个答案:

答案 0 :(得分:0)

您需要在res / mipmap中的3个文件中包含酶名称:

   ic_launcher.png
   ic_launcher_foreground.png
   ic_launcher_round.png