Cannot change default Splash screen for Android

I’m trying to set the icon and splash screen for my app. To do so, I have placed my icon.png and splash.png on the resources directory. After that, I run ionic resources --icon and ionic resources --splash. Splash/icon images are correctly generated for both android and iOS platforms, and config.xml is updated.

Everything looks fine so far…

The problem comes when I run my app. For iOS is working as expected, using the newly created icon and splash screen, but for Android, is ignoring this new configuration and still showing the default (cordova) icon and splash screen.

Your system information:

Cordova CLI: 6.4.0
Ionic Framework Version: 2.0.0-rc.4
Ionic CLI Version: 2.1.18
Ionic App Lib Version: 2.1.9
Ionic App Scripts Version: 0.0.47
ios-deploy version: 1.9.0
ios-sim version: 5.0.13
OS: OS X El Capitan
Node Version: v6.7.0
Xcode version: Xcode 8.2.1 Build version 8C1002

I hope someone can help me :slight_smile:

Facing same problem. Is there anyone to sort it out?

I had a similar issue when using the Cordova Android@6.0.0 platform, installing 6.1.0 fixed it for me. Earlier versions seemed to misplace the res/ folder in the root of the project and not in the platform folder. Might be the same for you! :slight_smile: (Or you could just manually move the folder, if this is the case)

Edit: If you wish to always install 6.1.0 when running ionic platform add android, add the following to your config.xml:

<engine name="android" spec="~6.1.0" />
1 Like

Yes, same issue here. Solved it with cordova cli

cordova platform rm android
cordova platform add android@6.1.0

Thanks for support I did the same and install earlier version and now it is working fine. My current cordova is 6.0.0.

Now it’s working! Thank you so much :slight_smile: