简体   繁体   English

创建签名apk时文件名必须以.xml结尾

[英]The file name must end with .xml while creating a signed apk

I have to create a signed apk so I have created a keystore.jks etc.我必须创建一个签名的 apk,所以我创建了一个 keystore.jks 等。

But when I try to generate the apk I have this error:但是当我尝试生成 apk 时出现此错误:

The file name must end with .xml

I don't know how it's work?不知道效果如何?

Thank's谢谢

There's a misplaced file in under res that is not a resource file. res下有一个不是资源文件的错位文件。

Actually, for me this is because of when I made a new app just when Google changed the way the app icon is worked on.实际上,对我来说,这是因为当我制作了一个新应用程序时,就在谷歌改变了应用程序图标的工作方式时。 So I just used Image Asset Studio in Android Studio and all is good now.所以我只是在 Android Studio 中使用了 Image Asset Studio,现在一切都很好。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM