Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
None
-
None
-
None
-
None
-
cordova v6.4.0, cordova-android v6.0.0, cordova-plugin-splashscreen@4.0.0
Description
With the latest cordova-android v6.0.0 release, which is pinned to cordova v6.4.0, custom app icons and splash screens no longer work.
It appears as though the custom app icons and splash screens are copied into the ./res folder and not into the ./platforms/android/res folder.
Others have mentioned the same bug - please refer to the comments at the bottom of your blog post announcement of the cordova-android v6.0.0 release (http://cordova.apache.org/announcements/2016/10/24/android-release.html).
My config.xml file refers to the app icons & splash screens as follows:
<platform name="android">
<allow-intent href="market:*" />
<icon src="icon/android/icon-ldpi.png" density="ldpi"/>
<icon src="icon/android/icon-mdpi.png" density="mdpi"/>
<icon src="icon/android/icon-hdpi.png" density="hdpi"/>
<icon src="icon/android/icon-xhdpi.png" density="xhdpi"/>
<icon src="icon/android/icon-xxhdpi.png" density="xxhdpi"/>
<icon src="icon/android/icon-xxxhdpi.png" density="xxxhdpi"/>
<splash src="screen/android/splash-land-ldpi.9.png" density="land-ldpi"/>
<splash src="screen/android/splash-land-mdpi.9.png" density="land-mdpi"/>
<splash src="screen/android/splash-land-hdpi.9.png" density="land-hdpi"/>
<splash src="screen/android/splash-land-xhdpi.9.png" density="land-xhdpi"/>
<splash src="screen/android/splash-land-xxhdpi.9.png" density="land-xxhdpi"/>
<splash src="screen/android/splash-land-xxxhdpi.9.png" density="land-xxxhdpi"/>
<splash src="screen/android/splash-port-hdpi.9.png" density="port-hdpi"/>
<splash src="screen/android/splash-port-ldpi.9.png" density="port-ldpi"/>
<splash src="screen/android/splash-port-mdpi.9.png" density="port-mdpi"/>
<splash src="screen/android/splash-port-xhdpi.9.png" density="port-xhdpi"/>
<splash src="screen/android/splash-port-xxhdpi.9.png" density="port-xxhdpi"/>
<splash src="screen/android/splash-port-xxxhdpi.9.png" density="port-xxxhdpi"/>
</platform>
Attachments
Attachments
Issue Links
- is duplicated by
-
CB-12090 Images are created in "res" directory but not under "platform/android"
- Closed
-
CB-12087 after use cordova-android 6.0,the icon and splashscreen can not copy to "platforms\android\res\" anymore
- Closed
-
CB-12092 Splash Screen won't change with cordova 6.4.0
- Closed
-
CB-12097 res folder copied to project root instead of into platform
- Closed
-
CB-12106 Android resources not copied correctly when specified in config.xml
- Closed
-
CB-12158 Custom splashscreens are copied to the wrong folder
- Closed
-
CB-12292 Icons copied in wrong res path - android
- Closed
- links to