Error: Source path does not exist: resources\android\icon\drawable-hdpi-icon.png
<p>I'm trying to get an APK file from a Ionic project with the "<code>cordova build --release android</code>" command on a <strong>Mac</strong> and it doesn't work as I get this error <br></p>

<blockquote>
  <p>"Error: Source path does not exist:
  resources\android\icon\drawable-hdpi-icon.png"</p>
</blockquote>

<p>. 
Anyone knows where it might come from?</p>

<p>Here is the copy of the config.xml file : </p>

<pre><code>&lt;?xml version='1.0' encoding='utf-8'?&gt;
&lt;widget id="com.ionicframework.rise268787" version="1.0.0" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0"&gt;
&lt;name&gt;RISE&lt;/name&gt;
&lt;description&gt;
    Discover music as you go
&lt;/description&gt;
&lt;author email="infos@olivierlam.fr" href="http://olivierlam.fr/"&gt;
  Olivier Lam
&lt;/author&gt;
&lt;content src="index.html" /&gt;
&lt;access origin="*" /&gt;
&lt;preference name="webviewbounce" value="false" /&gt;
&lt;preference name="UIWebViewBounce" value="false" /&gt;
&lt;preference name="DisallowOverscroll" value="true" /&gt;
&lt;preference name="SplashScreen" value="screen" /&gt;
&lt;preference name="orientation" value="portrait" /&gt;
&lt;preference name="SplashScreenDelay" value="1000" /&gt;
&lt;preference name="android-minSdkVersion" value="16" /&gt;
&lt;preference name="BackupWebStorage" value="none" /&gt;
&lt;preference name="SplashScreen" value="screen" /&gt;
&lt;preference name="SplashScreenDelay" value="1000" /&gt;
&lt;feature name="StatusBar"&gt;
    &lt;param name="ios-package" onload="true" value="CDVStatusBar" /&gt;
&lt;/feature&gt;
&lt;platform name="android"&gt;
    &lt;preference name="android-minSdkVersion" value="23" /&gt;
    &lt;preference name="android-targetSdkVersion" value="23" /&gt;
    &lt;icon density="ldpi" src="resources\android\icon\drawable-ldpi-icon.png" /&gt;
    &lt;icon density="mdpi" src="resources\android\icon\drawable-mdpi-icon.png" /&gt;
    &lt;icon density="hdpi" src="resources\android\icon\drawable-hdpi-icon.png" /&gt;
    &lt;icon density="xhdpi" src="resources\android\icon\drawable-xhdpi-icon.png" /&gt;
    &lt;icon density="xxhdpi" src="resources\android\icon\drawable-xxhdpi-icon.png" /&gt;
    &lt;icon density="xxxhdpi" src="resources\android\icon\drawable-xxxhdpi-icon.png" /&gt;
    &lt;splash density="port-ldpi" src="resources\android\splash\drawable-port-ldpi-screen.png" /&gt;
    &lt;splash density="port-mdpi" src="resources\android\splash\drawable-port-mdpi-screen.png" /&gt;
    &lt;splash density="port-hdpi" src="resources\android\splash\drawable-port-hdpi-screen.png" /&gt;
    &lt;splash density="port-xhdpi" src="resources\android\splash\drawable-port-xhdpi-screen.png" /&gt;
    &lt;splash density="port-xxhdpi" src="resources\android\splash\drawable-port-xxhdpi-screen.png" /&gt;
    &lt;splash density="port-xxxhdpi" src="resources\android\splash\drawable-port-xxxhdpi-screen.png" /&gt;
&lt;/platform&gt;
&lt;platform name="ios"&gt;
    &lt;icon height="57" src="resources/ios/icon/icon.png" width="57" /&gt;
    &lt;icon height="114" src="resources/ios/icon/icon@2x.png" width="114" /&gt;
    &lt;icon height="40" src="resources/ios/icon/icon-40.png" width="40" /&gt;
    &lt;icon height="80" src="resources/ios/icon/icon-40@2x.png" width="80" /&gt;
    &lt;icon height="120" src="resources/ios/icon/icon-40@3x.png" width="120" /&gt;
    &lt;icon height="50" src="resources/ios/icon/icon-50.png" width="50" /&gt;
    &lt;icon height="100" src="resources/ios/icon/icon-50@2x.png" width="100" /&gt;
    &lt;icon height="60" src="resources/ios/icon/icon-60.png" width="60" /&gt;
    &lt;icon height="120" src="resources/ios/icon/icon-60@2x.png" width="120" /&gt;
    &lt;icon height="180" src="resources/ios/icon/icon-60@3x.png" width="180" /&gt;
    &lt;icon height="72" src="resources/ios/icon/icon-72.png" width="72" /&gt;
    &lt;icon height="144" src="resources/ios/icon/icon-72@2x.png" width="144" /&gt;
    &lt;icon height="76" src="resources/ios/icon/icon-76.png" width="76" /&gt;
    &lt;icon height="152" src="resources/ios/icon/icon-76@2x.png" width="152" /&gt;
    &lt;icon height="167" src="resources/ios/icon/icon-83.5@2x.png" width="167" /&gt;
    &lt;icon height="29" src="resources/ios/icon/icon-small.png" width="29" /&gt;
    &lt;icon height="58" src="resources/ios/icon/icon-small@2x.png" width="58" /&gt;
    &lt;icon height="87" src="resources/ios/icon/icon-small@3x.png" width="87" /&gt;
    &lt;splash height="1136" src="resources/ios/splash/Default-568h@2x~iphone.png" width="640" /&gt;
    &lt;splash height="1334" src="resources/ios/splash/Default-667h.png" width="750" /&gt;
    &lt;splash height="2208" src="resources/ios/splash/Default-736h.png" width="1242" /&gt;
    &lt;splash height="2048" src="resources/ios/splash/Default-Portrait@2x~ipad.png" width="1536" /&gt;
    &lt;splash height="1024" src="resources/ios/splash/Default-Portrait~ipad.png" width="768" /&gt;
    &lt;splash height="960" src="resources/ios/splash/Default@2x~iphone.png" width="640" /&gt;
    &lt;splash height="480" src="resources/ios/splash/Default~iphone.png" width="320" /&gt;
&lt;/platform&gt;
&lt;icon src="resources/ios/icon/icon-small@3x.png" /&gt;
&lt;plugin name="cordova-plugin-facebook4" spec="~1.7.1"&gt;
    &lt;variable name="APP_ID" value="XXXXXXX" /&gt;
    &lt;variable name="APP_NAME" value="Rise" /&gt;
&lt;/plugin&gt;
&lt;allow-intent href="mailto:*" /&gt;
&lt;allow-navigation href="*.youtube.com" /&gt;
&lt;plugin name="cordova-plugin-whitelist" spec="~1.2.2" /&gt;
</code></pre>

<p></p>

<p>Thanks for your help. </p>