I have checked and double checked Stack Overflow for an answer on this and i really can\'t find one. I am building an app using the ionic framework and although i have never had
And in config.xml make sure the code is configured as follows:
<icon src="resources/android/icon/drawable-ldpi-icon.png" density="ldpi"/>
<splash src="resources/android/splash/drawable-port-xxxhdpi-screen.png" density="port-xxxhdpi"/>
<preference name="SplashScreen" value="screen"/>
You need to change the <platform>
section to have file names as screen.png
as shown below. Your path for screen.png is incorrect Whenever you use any name for SplashScreen other than splash you need to update the config: https://cordova.apache.org/docs/en/3.1.0/cordova/splashscreen/splashscreen.html#android
<platform name="android">
<splash src="platform-resources/android/res/drawable-ldpi/screen.png" density="ldpi" />
<splash src="platform-resources/android/res/drawable-mdpi/screen.png" density="mdpi" />
<splash src="platform-resources/android/res/drawable-hdpi/screen.png" density="hdpi" />
<splash src="platform-resources/android/res/drawable-xhdpi/screen.png" density="xhdpi" />
<splash src="platform-resources/android/res/drawable-xxhdpi/screen.png" density="xxhdpi" />
</platform>