How to solve Execution failed for task ':app:processDebugResources'

Hello everyone, I have problems to build android.

I have tried many proposals but I have not had success, I do not use Facebook login.

someone who has had the same problem and tells me how to solve it, I would appreciate it very much

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ‘:app:processDebugResources’.
    Failed to execute aapt

cli packages: (/Users/user/Desktop/home-made-repo/node_modules)

@ionic/cli-utils  : 1.19.3
ionic (Ionic CLI) : 3.20.1

global packages:

cordova (Cordova CLI) : 8.0.0

local packages:

@ionic/app-scripts : 3.2.4
Cordova Platforms  : android 7.0.0
Ionic Framework    : ionic-angular 3.9.2

System:

Android SDK Tools : 26.1.1
Node              : v8.15.0
npm               : 6.4.1
OS                : macOS
Xcode             : Xcode 10.2.1 Build version 10E1001

Environment Variables:

ANDROID_HOME : /Users/user/Library/Android/sdk

Misc:

backend : pro

– >package.json

build": “ionic-app-scripts build”,
“lint”: “ionic-app-scripts lint”,
“ionic:build”: “ionic-app-scripts build”,
“ionic:serve”: “ionic-app-scripts serve”
},
“dependencies”: {
@angular/common”: “5.0.3”,
@angular/compiler”: “5.2.11”,
@angular/compiler-cli”: “5.2.1”,
@angular/core”: “5.0.3”,
@angular/forms”: “5.0.3”,
@angular/http”: “5.0.3”,
@angular/platform-browser”: “5.0.3”,
@angular/platform-browser-dynamic”: “5.0.3”,
@ionic-native/app-version”: “^4.5.3”,
@ionic-native/call-number”: “^4.5.3”,
@ionic-native/camera”: “^4.5.3”,
@ionic-native/card-io”: “^4.5.3”,
@ionic-native/clipboard”: “^4.5.3”,
@ionic-native/core”: “4.11.0”,
@ionic-native/crop”: “^4.5.3”,
@ionic-native/file”: “^4.5.3”,
@ionic-native/file-transfer”: “^4.5.3”,
@ionic-native/firebase”: “^4.20.0”,
@ionic-native/in-app-browser”: “^4.5.3”,
@ionic-native/keyboard”: “^4.5.3”,
@ionic-native/local-notifications”: “^4.11.0”,
@ionic-native/native-audio”: “^4.5.3”,
@ionic-native/native-storage”: “^4.5.3”,
@ionic-native/social-sharing”: “^4.5.3”,
@ionic-native/splash-screen”: “4.4.0”,
@ionic-native/status-bar”: “4.4.0”,
@ionic-native/transfer”: “^3.14.0”,
@ionic/storage”: “2.1.3”,
“call-number”: “^1.0.1”,
“card.io.cordova.mobilesdk”: “^2.1.0”,
“cordova-android”: “7.0.0”,
“cordova-android-support-gradle-release”: “^3.0.1”,
“cordova-browser”: “^6.0.0”,
“cordova-ios”: “4.5.5”,
“cordova-plugin-app-version”: “^0.1.9”,
“cordova-plugin-badge”: “^0.8.8”,
“cordova-plugin-camera”: “^4.1.0”,
“cordova-plugin-crop”: “^0.4.0”,
“cordova-plugin-device”: “^2.0.3”,
“cordova-plugin-file”: “^6.0.2”,
“cordova-plugin-file-transfer”: “^1.7.1”,
“cordova-plugin-firebase”: “^0.1.25”,
“cordova-plugin-inappbrowser”: “^2.0.2”,
“cordova-plugin-ionic-webview”: “^4.1.1”,
“cordova-plugin-local-notification”: “^0.9.0-beta.2”,
“cordova-plugin-nativeaudio”: “^3.0.9”,
“cordova-plugin-nativestorage”: “^2.3.2”,
“cordova-plugin-splashscreen”: “^5.0.3”,
“cordova-plugin-statusbar”: “^2.4.3”,
“cordova-plugin-whitelist”: “^1.3.4”,
“cordova-plugin-x-socialsharing”: “^5.4.7”,
“css-animator”: “^2.3.0”,
“enhanced-resolve”: “^3.3.0”,
“es6-promise-plugin”: “^4.2.2”,
“ionic”: “^3.20.0”,
“ionic-angular”: “3.9.2”,
“ionic-image-loader”: “^5.0.0”,
“ionic-plugin-keyboard”: “^2.2.1”,
“ionicons”: “3.0.0”,
“moment”: “^2.22.1”,
“rxjs”: “5.5.11”,
“sw-toolbox”: “3.6.0”,
“zone.js”: “0.8.18”
},
“devDependencies”: {
@ionic/app-scripts”: “^3.2.4”,
“typescript”: “2.4.2”
},
“description”: “An Ionic project”,
“cordova”: {
“plugins”: {
“ionic-plugin-keyboard”: {},
“cordova-plugin-firebase”: {},
“cordova-plugin-local-notification”: {},
“cordova-plugin-inappbrowser”: {},
“cordova-plugin-nativeaudio”: {},
“cordova-plugin-app-version”: {},
“card.io.cordova.mobilesdk”: {},
“cordova-plugin-x-socialsharing”: {
“ANDROID_SUPPORT_V4_VERSION”: “24.1.1+”
},
“cordova-plugin-camera”: {
“CAMERA_USAGE_DESCRIPTION”: “Tomar fotografia de perfil o escanear una tarjeta de credito”,
“PHOTOLIBRARY_USAGE_DESCRIPTION”: “Seleccionar fotografia de perfil”,
“ANDROID_SUPPORT_V4_VERSION”: “27.+”
},
“cordova-plugin-crop”: {},
“cordova-plugin-file”: {},
“cordova-plugin-file-transfer”: {},
“cordova-plugin-nativestorage”: {},
“cordova-plugin-device”: {},
“cordova-plugin-ionic-webview”: {
“ANDROID_SUPPORT_ANNOTATIONS_VERSION”: “27.+”
},
“cordova-plugin-splashscreen”: {},
“cordova-plugin-whitelist”: {},
“cordova-plugin-statusbar”: {},
“cordova-android-support-gradle-release”: {
“ANDROID_SUPPORT_VERSION”: “24.+”
},
“call-number”: {}
},
“platforms”: [
“ios”,
“browser”,
“android”
]
}
}

Well in my case i just remove platform add it again and it’s worked.