title: Cordova android app not showing icon on home screen
body: <p>We've got a web app powered by cordova to generate mobile apps. Everything does work on iOS.</p>
  
  <p>We're trying to add the android platform and about everything works well except application icons.</p>
  
  <p>The <code>config.xml</code> mostly follows what's <a href="http://cordova.apache.org/docs/en/dev/config_ref/images.html#android" rel="noreferrer">on the docs</a>:</p>
  
  <pre><code>&lt;widget
      id="xxx"
      version="xxx"
      ios-CFBundleVersion="xxx"
      xmlns="http://www.w3.org/ns/widgets"
      xmlns:cdv="http://cordova.apache.org/ns/1.0"
  &gt;
      &lt;name&gt;xxx&lt;/name&gt;
      &lt;description&gt;&lt;/description&gt;
      &lt;author email="xxx" href="xxx"&gt;xxx&lt;/author&gt;
      &lt;content src="index.html" /&gt;
  
      &lt;engine name="ios" spec="~4.5.1" /&gt;
      &lt;engine name="android" spec="~6.3.0" /&gt;
  
      &lt;platform name="ios"&gt;
          &lt;allow-intent href="itms:*" /&gt;
          &lt;allow-intent href="itms-apps:*" /&gt;
          &lt;preference name="BackupWebStorage" value="none" /&gt;
          &lt;preference name="deployment-target" value="8.0" /&gt;
          &lt;preference name="KeyboardDisplayRequiresUserAction" value="false" /&gt;
          &lt;preference name="UIWebViewDecelerationSpeed" value="normal" /&gt;
  
          &lt;icon src="resources/icons/Icon-Small.png" width="29" height="29" /&gt;
          &lt;icon src="resources/icons/Icon-Small@2x.png" width="58" height="58" /&gt;
          &lt;icon src="resources/icons/Icon-Small@3x.png" width="87" height="87" /&gt;
          &lt;icon src="resources/icons/Icon-40.png" width="40" height="40" /&gt;
          &lt;icon src="resources/icons/Icon-50.png" width="50" height="50" /&gt;
          &lt;icon src="resources/icons/Icon-50@2x.png" width="100" height="100" /&gt;
          &lt;icon src="resources/icons/Icon.png" width="57" height="57" /&gt;
          &lt;icon src="resources/icons/Icon@2x.png" width="114" height="114" /&gt;
          &lt;icon src="resources/icons/Icon-40@2x.png" width="80" height="80" /&gt;
          &lt;icon src="resources/icons/Icon-40@3x.png" width="120" height="120" /&gt;
          &lt;icon src="resources/icons/Icon-60.png" width="60" height="60" /&gt;
          &lt;icon src="resources/icons/Icon-60@2x.png" width="120" height="120" /&gt;
          &lt;icon src="resources/icons/Icon-60@3x.png" width="180" height="180" /&gt;
          &lt;icon src="resources/icons/Icon-72.png" width="72" height="72" /&gt;
          &lt;icon src="resources/icons/Icon-72@2x.png" width="144" height="144" /&gt;
          &lt;icon src="resources/icons/Icon-76.png" width="76" height="76" /&gt;
          &lt;icon src="resources/icons/Icon-76@2x.png" width="152" height="152" /&gt;
          &lt;icon src="resources/icons/Icon-83.5.png" width="83.5" height="83.5" /&gt;
          &lt;icon src="resources/icons/Icon-83.5@2x.png" width="167" height="167" /&gt;
          &lt;icon src="resources/icons/iTunesArtwork@2x.png" width="1024" height="1024" /&gt;
  
          &lt;preference name="ShowSplashScreenSpinner" value="false"/&gt;
  
          &lt;splash src="resources/splash/Default@2x~universal~anyany.png" width="2732" height="2732"/&gt;
      &lt;/platform&gt;
  
      &lt;platform name="android"&gt;
          &lt;allow-intent href="market:*" /&gt;
  
          &lt;icon src="resources/icons/ldpi.png" density="ldpi" /&gt;
          &lt;icon src="resources/icons/mdpi.png" density="mdpi" /&gt;
          &lt;icon src="resources/icons/hdpi.png" density="hdpi" /&gt;
          &lt;icon src="resources/icons/xhdpi.png" density="xhdpi" /&gt;
          &lt;icon src="resources/icons/xxhdpi.png" density="xxhdpi" /&gt;
          &lt;icon src="resources/icons/xxxhdpi.png" density="xxxhdpi" /&gt;
  
          &lt;splash src="resources/splash/splash-land-hdpi.png" density="land-hdpi"/&gt;
          &lt;splash src="resources/splash/splash-land-ldpi.png" density="land-ldpi"/&gt;
          &lt;splash src="resources/splash/splash-land-mdpi.png" density="land-mdpi"/&gt;
          &lt;splash src="resources/splash/splash-land-xhdpi.png" density="land-xhdpi"/&gt;
          &lt;splash src="resources/splash/splash-port-hdpi.png" density="port-hdpi"/&gt;
          &lt;splash src="resources/splash/splash-port-ldpi.png" density="port-ldpi"/&gt;
          &lt;splash src="resources/splash/splash-port-mdpi.png" density="port-mdpi"/&gt;
          &lt;splash src="resources/splash/splash-port-xhdpi.png" density="port-xhdpi"/&gt;
  
          &lt;preference name="AndroidPersistentFileLocation" value="Compatibility" /&gt;
      &lt;/platform&gt;
  
      &lt;plugin name="cordova-plugin-whitelist" spec="1" /&gt;
      &lt;access origin="*" /&gt;
      &lt;allow-intent href="http://*/*" /&gt;
      &lt;allow-intent href="https://*/*" /&gt;
      &lt;allow-navigation href="https://*/*" /&gt;
      &lt;allow-intent href="mailto:*" /&gt;
      &lt;allow-navigation href="mailto:*" /&gt;
  
      &lt;universal-links&gt;
          &lt;ios-team-id value="xxx" /&gt;
          &lt;host name="$host" scheme="$scheme" event="universal-link-clicked"/&gt;
      &lt;/universal-links&gt;
  
      &lt;plugin name="cordova-plugin-file-transfer" spec="~1.6.2" /&gt;
      &lt;plugin name="cordova-plugin-file" spec="~4.3.3" /&gt;
      &lt;plugin name="cordova-plugin-network-information" spec="~1.3.2" /&gt;
      &lt;plugin name="cordova-plugin-statusbar" spec="~2.2.2" /&gt;
      &lt;plugin name="cordova-plugin-background-fetch" spec="https://github.com/christocracy/cordova-plugin-background-fetch.git" /&gt;
      &lt;plugin name="cordova-plugin-inappbrowser" spec="~1.7.0" /&gt;
      &lt;plugin name="cordova-plugin-disable-bitcode" spec="~1.3.2" /&gt;
      &lt;plugin name="com.batch.cordova" spec="https://github.com/floo51/cordova-plugin.git" /&gt;
      &lt;plugin name="cordova-plugin-splashscreen" spec="~4.0.2" /&gt;
      &lt;plugin name="cordova-plugin-ios-non-exempt-encryption" spec="~1.0.0" /&gt;
      &lt;plugin name="cordova-universal-links-plugin" spec="~1.2.1" /&gt;
  &lt;/widget&gt;
  </code></pre>
  
  <p>There are different types of icons:</p>
  
  <ul>
  <li>APK file icon (works)</li>
  <li>Install screen (works)</li>
  <li>Apps menu (does not work)</li>
  <li><p>Home screen (does not work)
  <a href="https://i.stack.imgur.com/AprtH.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/AprtH.jpg" alt="enter image description here"></a></p></li>
  <li><p>Runnings apps (does not work)
  <a href="https://i.stack.imgur.com/pujnP.png" rel="noreferrer"><img src="https://i.stack.imgur.com/pujnP.png" alt="enter image description here"></a></p></li>
  </ul>
  
  <p>Most weird is that it does work on simulator (nexus 5) but not on a OnePlus One or a Moto G4.</p>
  
  <p>We're using cordova 6.5. All icons are resized according to <a href="http://cordova.apache.org/docs/en/dev/config_ref/images.html#android" rel="noreferrer">what's on the docs</a>. Did we miss anything ?</p>