ionic ionic修改应用图标的问题

查看:96
本文介绍了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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆