Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-12077

Custom app icons and splash screens not working in cordova-android v6.0.0

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:

      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

        1. 2016-10-30_213127.png
          370 kB
          Colin Bau

          Issue Links

            Activity

              People

              • Assignee:
                dpogue Darryl Pogue
                Reporter:
                gmawson Graeme Mawson
              • Votes:
                7 Vote for this issue
                Watchers:
                14 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: