ionic ionic修改应用图标的问题
问题描述
我修改了ionic里面的图标和启动画面 重新编译后怎么还是这个图标和界面
麻烦大家给我看看
config.xml也没动啊
I think that @tomysmile has found the way to fix it at the moment, this is a Cordova bug and not Ionic specific:
Cordova released a fix for this one month ago for the Android platform but for some reason the cordova-cli is still using an old version of the Android platform that hasn't the problem fixed.
So, the steps:
$ ionic platform rm android
$ ionic platform add android
$ ionic platform update android@6.1.0
You can see that by default cordova is adding as android platform version the 6.0.0 but the bug is fixed in the 6.1.0 (https://github.com/apache/cor...
Remove and add the platform can be avoided, I've added them for the people that had copy/pasted the icon and splashcreen to the platform folder, if you haven't done that the third step would be enough.
这篇关于ionic ionic修改应用图标的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!