Android 15 splash screen issue


![20260312_021644|619x373](upload://tOuTOw1KqTQwxVPFteZKvrIqHlz.png)





<?xml version="1.0" encoding="UTF-8"?>profighter

This app(profighter) is a simple animated fighter shooting game,enjoy!

<plugin name=“cordova-plugin-splashscreen” spec=“6.0.2”

<plugin name="cordova-plugin-statusbar" source="npm" />
  <preference name="StatusBarOverlaysWebView" value="{phoneGapStatusBarOverlay}" />
  <preference name="StatusBarBackgroundColor" value="{phoneGapStatusBarColor}" />
  <preference name="StatusBarStyle" value="{phoneGapStatusBarStyle}" />

<allow-navigation href="*" />
  <access origin="*" />
  <allow-intent href="*" />

<plugin name="cordova-plugin-wkwebview-engine" source="npm" />
<platform name="ios">
  <preference name="WKWebViewOnly" value="true" />
  <feature name="CDVWKWebViewEngine">
    <param name="ios-package" value="CDVWKWebViewEngine" />
  </feature>
  <preference name="CordovaWebViewEngine" value="CDVWKWebViewEngine" />
</platform>

</widget>

I don’t think this part of your config.xml is valid XML.

Would u mind post the latest config.xml here?i am getting the npm icon instead for my splash screen.thanks in advance,tst

If you start a fresh new app (project), you can see what the default config is, or see Config.xml API - Apache Cordova

I use appstudio-newPrj-config;if I use iconTemplate.png,2737,voltbuilder doesn’t run;if I use iconTemplate,1924,apk runs with npm icon.if I use config from Apache site,apk runs with npm icon .so ,the question is iconTemplate should be which size x size? Thanks in advance,tst
Both config doesn’t specify sdk 36 as the latest sdk.

Icons should be 1024. Splash screens should be 2732. (1924 and 2737 are not valid)

I run nsb/as 9461,project1(getting default config xml),apk runs with app studio splash icon .I run my app,,where iconTemplate.png is 1024x1024,I get a npm splash icon.so,my question is ,what is this iconTemplate.png should be ?x?

<?xml version="1.0" encoding="UTF-8"?>
<widget 
xmlns = "https://www.w3.org/ns/widgets"
id = "com.TsTan.proFlipCard"
android-versionCode = "18"
ios-CFBundleVersion = "1.0.0"
version = "1.0.0">

<name>proFlipCard</name>
<description>This game consist of 2 games.1st original Flipcard,2nd FlipCard 2</description>

<icon src='resources/iconTemplate.png' />
<preference name='SplashScreenDelay' value='2000' />
<preference name='AutoHideSplashScreen' value='true' />
<preference name='AndroidWindowSplashScreenAnimatedIcon' value='resources/splashTemplate.png' />
<preference name='AndroidWindowSplashScreenBackground' value='{splashBackground}' />
<plugin name='cordova-plugin-splashscreen' source='npm' />

<preference name="permissions" value="none"/>
<!-- sample preference specifications -->
<!-- <preference name="autorotate" value="false" readonly="true"/> -->
<!-- <preference name="orientation" value="default" /> -->
<!-- <preference name="fullscreen" value="true" /> -->

<plugin name="cordova-plugin-statusbar" source="npm" />
  <preference name="StatusBarOverlaysWebView" value="{phoneGapStatusBarOverlay}" />
  <preference name="StatusBarBackgroundColor" value="{phoneGapStatusBarColor}" />
  <preference name="StatusBarStyle" value="{phoneGapStatusBarStyle}" />

  <allow-navigation href="*" />
  <access origin="*" />
  <allow-intent href="*" />

<plugin name="cordova-plugin-wkwebview-engine" source="npm" />
<platform name="ios">
  <preference name="WKWebViewOnly" value="true" />
  <feature name="CDVWKWebViewEngine">
    <param name="ios-package" value="CDVWKWebViewEngine" />
  </feature>
  <preference name="CordovaWebViewEngine" value="CDVWKWebViewEngine" />
</platform>

</widget>

And I get this err pic after I quit nsb/as

You’re only showing part of the error message - the rest is scrolled off. It’s tough to tell what is going on.

Try connecting the Android Remote Debugger and looking at the Console. You will see the complete message.

This appears to be a different error.