How to change default launch icon of ionic app

#22

Hi there,

I was having the same issue but finally managed to fix it. Are you testing it on a Xiami phone? It almost seems like the android phone is using some of the icons from ios resources. Although I’m not really sure about that.

I actually went through all .png files in the project folder and I found the sample icon in ios resources. So I regenerated the icons for ios (even though I have an android app) using ionic cordova resources ios, uninstalled the app in the phone and installed it again. And it worked!

I double checked all the .png files again and haven’t the sample icon anywhere.

Let me know if it helped!

3 Likes
#23

@cikcoh I’m using ionic 4 and still face the same problem :thinking: Don’t be sorry though, thanks for helping me out!

#24

I tried your solution and yes, it works! Thanks @PatrioScraper :grinning:

1 Like
#25

Hey, Hi all.

            i am also have the same issue, now i am solved. i am giving the steps below for solution.

           1. Remove platforms folder and add android platform, it will give default android image for app
           2. If you don't have a resource folder run command "ionic resources" it will generate a resource folder with Icons and Splash folder.
           3. Add images in   resources/android/icon/drawable-ldpi-icon.png and resources/android/splash/drawable-land-ldpi-screen.png and add path in config.xml
          4.npm install -g ionic