科尔多瓦phonegap启动屏幕未显示在Android中

时间:2019-04-05 10:22:50

标签: android cordova-plugins phonegap

这是我用于启动Android的代码。仍然不显示启动画面。仅根据Android的启动画面添加了代码,但仍然没有启动画面

<platform name="android">
    <!-- <splash src="www/res/icon/android/drawable-mdpi-icon.png" density="land-hdpi"/> -->
    <!-- <splash src="res/screen/android/apple-touch-icon.png" width="640" height="960"/> -->
        <icon density="ldpi" src="www/res/icon/android/apple-touch-icon.png" />
        <icon density="mdpi" src="www/res/icon/android/apple-touch-icon.png" />
        <icon density="hdpi" src="www/res/icon/android/apple-touch-icon.png" />
        <icon density="xhdpi" src="www/res/icon/android/apple-touch-icon.png" />
        <icon density="xxhdpi" src="www/res/icon/android/apple-touch-icon.png" />
        <icon density="xxxhdpi" src="www/res/icon/android/apple-touch-icon.png" />
         <splash density="land-ldpi" src="www/res/screen/android/apple-touch-icon.png" />
        <splash density="land-mdpi" src="www/res/screen/android/apple-touch-icon.png" />
        <splash density="land-hdpi" src="www/res/screen/android/apple-touch-icon.png" />
        <splash density="land-xhdpi" src="www/res/screen/android/apple-touch-icon.png" />
        <splash density="land-xxhdpi" src="www/res/screen/android/apple-touch-icon.png" />
        <splash density="land-xxxhdpi" src="www/res/screen/android/apple-touch-icon.png" />
        <splash density="port-ldpi" src="www/res/screen/android/apple-touch-icon.png" />
        <splash density="port-mdpi" src="www/res/screen/android/apple-touch-icon.png" />
        <splash density="port-hdpi" src="www/res/screen/android/apple-touch-icon.png" />
        <splash density="port-xhdpi" src="www/res/screen/android/apple-touch-icon.png" />
        <splash density="port-xxhdpi" src="www/res/screen/android/apple-touch-icon.png" />
        <splash density="port-xxxhdpi" src="www/res/screen/android/apple-touch-icon.png" />   
</platform>

0 个答案:

没有答案