简体   繁体   English

离子电容器android应用程序图标不会改变

[英]Ionic capacitor android app icon doesn't change

In my app I've changed all the image in the generated folder android\\app\\src\\main\\res\\mipmap[...] with my app icon, but still I get the default image.在我的应用程序中,我用我的应用程序图标更改了生成的文件夹 android\\app\\src\\main\\res\\mipmap[...] 中的所有图像,但我仍然得到默认图像。 How is this possible?这怎么可能? The default image is not present anywhere....默认图像不存在任何地方....

Someone could give me some help?有人可以给我一些帮助吗?

thanks谢谢

Since you haven't mentioned how you change the icon in android, I can only suggest you try what I tried successful way.由于您没有提到如何更改android中的图标,我只能建议您尝试我尝试成功的方法。

Using the cordova-res plugin to generate the plugin, and using scripts below to copy them into IOS or Android folders.使用cordova-res插件生成插件,并使用下面的脚本将它们复制到IOS或Android文件夹中。

https://capacitorjs.com/docs/guides/splash-screens-and-iconshttps://capacitorjs.com/docs/guides/splash-screens-and-icons

Detail steps:详细步骤:

https://gist.github.com/dalezak/a6b1de39091f4ace220695d72717ac71 https://gist.github.com/dalezak/a6b1de39091f4ace220695d72717ac71

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

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