2 Replies Latest reply on Sep 18, 2017 3:55 AM by kerrishotts

    Android icon and splash missing after upgrading to cli 7.0.1

    marcol82857033

      Hi,

       

      After upgrading my app to use the cli version 7.0.1 the custom icons and splash screens are not displayed after building the project using PhoneGap Build.

       

      This is my project folder structure

       

      config.xml

      www/

      www/index.html

      www/js/...

      res/icons/

      res/icons/android/hdpi.png

      res/icons/android/......

       

      For completeness I report a snippet of the config.xml file:

       

      <platform name="android">

          <icon density="ldpi" src="res/icons/android/ldpi.png" />

          <icon density="mdpi" src="res/icons/android/mdpi.png" />

          <icon density="hdpi" src="res/icons/android/hdpi.png" />

          <icon density="xhdpi" src="res/icons/android/xhdpi.png" />

          <icon density="xxhdpi" src="res/icons/android/xxhdpi.png" />

          <icon density="xxxhdpi" src="res/icons/android/xxxhdpi.png" />

        </platform>

       

      <splash density="land-hdpi" platform="android" src="res/screens/android/screen-hdpi-landscape.png" />

        <splash density="land-ldpi" platform="android" src="res/screens/android/screen-ldpi-landscape.png" />

        <splash density="land-mdpi" platform="android" src="res/screens/android/screen-mdpi-landscape.png" />

        <splash density="land-xhdpi" platform="android" src="res/screens/android/screen-xhdpi-landscape.png" />

        <splash density="port-hdpi" platform="android" src="res/screens/android/screen-hdpi-portrait.png" />

        <splash density="port-ldpi" platform="android" src="res/screens/android/screen-ldpi-portrait.png" />

        <splash density="port-mdpi" platform="android" src="res/screens/android/screen-mdpi-portrait.png" />

        <splash density="port-xhdpi" platform="android" src="res/screens/android/screen-xhdpi-portrait.png" />

       

      How can  I fix this issue?

       

      Regards

      Mark