Fail exporting .apk

hi, I want to follow this tutorial to export my Ionic 3 project into an .apk
I did this ionic cordova build --release android
But i had this error :

Enabling Cordova integration.
 ionic config set integrations.cordova {} --json --force
[OK] integrations.cordova set to {} in .\ionic.config.json!
 cordova platform add android --save
Using cordova-fetch for cordova-android@^6.2.3

Adding android project...
Creating Cordova project for the Android platform:
        Path: platforms\android
        Package: com.socode.socodeapp1
        Name: socodeapp1
        Activity: MainActivity
        Android target: android-25
Subproject Path: CordovaLib
Android project created with cordova-android@6.2.3
Error: Source path does not exist: resources/android/icon/drawable-hdpi-icon.png

[ERROR] Exception:

I have the latest version of ionic and cordova. I installed android studio and all the management tool I need.
Anyone had the same issue? and have an answer
Thanks a lot !

try finding the error source of this:

maybe also remove and add your platform again.

1 Like

Generate your ressources (icons & splash)

run

ionic cordova resources 
1 Like

Thanks but I already did it …

Vérify your original icon size if it’s 512x512 px
And redo

ionic cordova resources