Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Custom Splashscreen and Icon in Ionic 2 not showing, Cordova Icons showing

I don't understand why my icon and splash screen aren't showing. They are properly referenced in the config.xml file but instead it's the cordova default images that show. Please help

EDIT: I just noticed that the icons and splash screens generated were not copied into their respective platforms. Why did this happen?

like image 394
ifeoluwa king Avatar asked Nov 24 '16 10:11

ifeoluwa king


People also ask

How do I change my ionic app icon and splash screen?

Create a “resources” folder in your project's root. This will be the place where we will save our icons and splash screens. Now click the “Image > Canvas Size” menu. We have to put our icon to the center of a 1024x1024 px canvas.

How do I change the icon in ionic?

To change the default icon , just change the icon. png by your image, if I remember you need to resize your image (1024*1024). To change the default splashscreen, its the same (2732*2732). Save this answer.


1 Answers

check out this link: https://github.com/driftyco/ionic-cli/issues/1608 and specifically florentsuc's comment

i solved it by running: ionic platform remove android ionic platform add [email protected]

like image 177
Tal Bussel Avatar answered Nov 02 '22 16:11

Tal Bussel