我正在尝试在我的安卓设备(Redmi 1S, Android Version 4.4.4 KTU84P)上启用闪屏页面。应用在我的设备上正常运行,但是闪屏页面未出现。闪屏图片被复制并重命名为"screen.png",放置在相应的“platforms\android\res\drawable*”目录下。我没有安装任何cordova闪屏插件。以下是项目根目录下config.xml文件的内容。
<?xml version='1.0' encoding='utf-8'?>
<widget id="com.victor.workshop" version="0.0.1" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
<name>Workshop</name>
<description>
A sample Apache Cordova application that responds to the deviceready event.
</description>
<author email="dev@cordova.apache.org" href="http://cordova.io">
Apache Cordova Team
</author>
<content src="index.html" />
<plugin name="cordova-plugin-whitelist" version="1" />
<access origin="*" />
<allow-intent href="http://*/*" />
<allow-intent href="https://*/*" />
<allow-intent href="tel:*" />
<allow-intent href="sms:*" />
<allow-intent href="mailto:*" />
<allow-intent href="geo:*" />
<platform name="android">
<allow-intent href="market:*" />
<icon src="res/android/icons/xhdpi.png"/>
<icon src="res/android/icons/ldpi.png" density="ldpi" />
<icon src="res/android/icons/mdpi.png" density="mdpi" />
<icon src="res/android/icons/hdpi.png" density="hdpi" />
<icon src="res/android/icons/xhdpi.png" density="xhdpi" />
<splash src="res/android/splashscreens/land-hdpi.png" density="land-hdpi"/>
<splash src="res/android/splashscreens/land-ldpi.png" density="land-ldpi"/>
<splash src="res/android/splashscreens/land-mdpi.png" density="land-mdpi"/>
<splash src="res/android/splashscreens/land-xhdpi.png" density="land-xhdpi"/>
<splash src="res/android/splashscreens/port-hdpi.png" density="port-hdpi"/>
<splash src="res/android/splashscreens/port-ldpi.png" density="port-ldpi"/>
<splash src="res/android/splashscreens/port-mdpi.png" density="port-mdpi"/>
<splash src="res/android/splashscreens/port-xhdpi.png" density="port-xhdpi"/>
</platform>
<preference name="SplashScreen" value="screen" />
<preference name="SplashScreenDelay" value="10000" />
</widget>
非常感谢您提供的任何帮助或指导。提前致谢。