Build APK Problem

Hi
When i try to build the app using ionic cordova build android

I get errors

do you allready tried it a second time?
You also could delete that file, that he could’t delete manualy and then ty it again.
If nothing of these steps resolve the porble I would do ionic cordova platform remove android and then ionic cordova platform add android

I tried more than two time, and yes i remove platform and add it once again

What is your ionic info output?
What is your ionic cordova plugin list output?

cli packages: (C:\Users\Khalil\AppData\Roaming\npm\node_modules)

    @ionic/cli-utils  : 1.18.0
    ionic (Ionic CLI) : 3.18.0

global packages:

    cordova (Cordova CLI) : 7.1.0
 

local packages:

    @ionic/app-scripts : 3.1.2
    Cordova Platforms  : android 6.3.0
    Ionic Framework    : ionic-angular 3.9.2

System:

    Android SDK Tools : 26.1.1
    Node              : v8.4.0
    npm               : 5.3.0 
    OS                : Windows 8.1

Environment Variables:

    ANDROID_HOME : C:\Users\Khalil\AppData\Local\Android\sdk\

Misc:

    backend : pro

cordova-plugin-camera 3.0.0 "Camera"
cordova-plugin-device 1.1.4 "Device"
cordova-plugin-file 5.0.0 "File"
cordova-plugin-file-transfer 1.7.0 "File Transfer"
cordova-plugin-filepath 1.0.2 "FilePath"
cordova-plugin-geolocation 3.0.0 "Geolocation"
cordova-plugin-googlemaps 2.1.1 "cordova-plugin-googlemaps"
cordova-plugin-ionic-webview 1.1.16 "cordova-plugin-ionic-webview"
cordova-plugin-network-information 1.3.4 "Network Information"
cordova-plugin-request-location-accuracy 2.2.2 "Request Location Accuracy"
cordova-plugin-splashscreen 4.0.3 "Splashscreen"
cordova-plugin-whitelist 1.3.1 "Whitelist"
cordova-sqlite-storage 2.1.2 "Cordova sqlite storage plugin"
cordova.plugins.diagnostic 3.7.2 "Diagnostic"
ionic-plugin-keyboard 2.2.1 "Keyboard"

I tried this solution https://forum.ionicframework.com/t/solved-execution-failed-for-task-mergedebugresources/90764/3

But doesn’t work

I find the solution, the problem for me as i think is because the path name is too long in Windows. Renaming some folders to shorter names solved the issue.