Android Studio。文件名必须以.xml结尾 由 望_发布于 2020-05-23 21:14:01 I am trying to add icons to the action bar of my app. I have imported icons png files to the drawable folders. However, there is an error saying that the file must end with .XML. How do I fix this?
您必须将图像转换为XML。可以通过将图像导入为SVG来完成。
单击新的矢量资产,您将有两个选择; PSD和SVG。导入SVG文件,它将存储为XML文件。