title: Image of the Ionic app icon displayed cropped after generating the apk
body: <p>[ <strong>Contextualizing the problem</strong> ]</p>
  <p>I have an Ionic PWA project in production.
  <br> I need to generate Android apps using the same project and I am using capacitor to generate apps and resources.
  <br> Apk files were created correctly, but the application icon was not. When using the default app icon (capacitor icon) it works, when using the custom icon, the image is cut.</p>
  <p>Original (512x512)<br>
  <a href="https://i.stack.imgur.com/yuVj1.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/yuVj1.png" alt="enter image description here" /></a></p>
  <p>Icon was like this<br>
  <a href="https://i.stack.imgur.com/XZLVn.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/XZLVn.jpg" alt="icon_like_this" /></a></p>
  <br>
  <p>[ <strong>Scripts</strong> ]</p>
  <p>Below are the steps to generate. <br> The configuration is ok, at first. All scripts run without alerts.</p>
  <p>Generate resources</p>
  <pre><code>&gt; cordova-res android --skip-config --copy
  </code></pre>
  <p>All resources are created and in the correct sizes for each dimension.
  <a href="https://i.stack.imgur.com/fn2bh.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/fn2bh.png" alt="enter image description here" /></a></p>
  <p>Generate APKs</p>
  <pre><code>&gt; ng build --prod &amp;&amp; ionic cap copy android &amp;&amp; cd android &amp;&amp; gradlew assemble &amp;&amp; cd ..
  </code></pre>
  <p><a href="https://i.stack.imgur.com/iMtZ3.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/iMtZ3.png" alt="enter image description here" /></a></p>
  <br>
  <p>[ <strong>Configuration</strong> ]</p>
  <pre><code>Ionic:
  
     Ionic CLI                     : 5.4.16 (C:\Users\rpizao\AppData\Roaming\nvm\v12.16.1\node_modules\ionic)
     Ionic Framework               : @ionic/angular 5.3.4
     @angular-devkit/build-angular : 0.1000.8
     @angular-devkit/schematics    : 10.0.8
     @angular/cli                  : 10.0.8
     @ionic/angular-toolkit        : 2.3.3
  
  Capacitor:
  
     Capacitor CLI   : 2.4.2
     @capacitor/core : 2.4.2
  
  Cordova:
  
     Cordova CLI       : 10.0.0
     Cordova Platforms : android 9.1.0
     Cordova Plugins   : not available
  
  Utility:
  
     cordova-res : 0.15.3
     native-run  : 1.3.0
  
  System:
  
     Android SDK Tools : 25.2.3 (D:\apps\Android)
     NodeJS            : v12.16.1 (C:\Program Files\nodejs\node.exe)
     npm               : 6.13.4
     OS                : Windows 10
  </code></pre>