Execution failed for task ':app:processDebugResources'
See original GitHub issueThis error occurs when I run -
Cordova build android
Full Error -
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:processDebugResources'.
> Failed to execute aapt
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
* Get more help at https://help.gradle.org
BUILD FAILED in 10s
at ChildProcess.whenDone (/Users/anujsingh/Documents/ionic/logs/platforms/android/cordova/node_modules/cordova-common/src/superspawn.js:169:23)
at ChildProcess.emit (events.js:182:13)
at maybeClose (internal/child_process.js:961:16)
at Socket.stream.socket.on (internal/child_process.js:380:11)
at Socket.emit (events.js:182:13)
at Pipe._handle.close [as _onclose] (net.js:595:12)
(node:637) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
ionic info
cli packages: (/usr/local/lib/node_modules)
@ionic/cli-utils : 1.19.2
ionic (Ionic CLI) : 3.20.0
global packages:
cordova (Cordova CLI) : 8.0.0
local packages:
@ionic/app-scripts : 3.1.10
Cordova Platforms : android 7.0.0
Ionic Framework : ionic-angular 3.9.2
System:
Android SDK Tools : 26.1.1
Node : v10.4.1
npm : 6.1.0
OS : macOS High Sierra
Environment Variables:
ANDROID_HOME : /Users/anujsingh/Library/Android/sdk
Misc:
backend : pro
I tried every previous given solution in the forum
Issue Analytics
- State:
- Created 5 years ago
- Comments:11 (3 by maintainers)
Top Results From Across the Web
Execution failed for task ':app:processDebugResources' even ...
I have installed the latest build tools- 23.0.3 but still the error persists. How do I fix this? Executing tasks: [:app:generateDebugSources, ...
Read more >Fix "Execution failed app:processDebugResources" in ...
Fix “Execution failed app:processDebugResources” in Android Studio · Method 1: Change the version of buildTools · Method 2: Run Gradle with – ...
Read more >Execution failed for task ':app:processDebugResources'. #548
Hi. When I'm trying to launch the app on my device or to build the apk I get this error. If I remove...
Read more >Execution failed app:processDebugResources Android Studio
Android : Execution failed app : processDebugResources Android Studio [ Beautify Your Computer : https://www.hows.tech/p/recommended.html ] ...
Read more >How To Fix - "app:processDebugResources FAILED ... - Gankrin
Execution failed for task ':app:processDebugResources'. Let's see the check-points which we can conduct to debug and fix this error.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This resolves my issue :- Go to
platforms/app/src/main/res/values/strings.xml
and add these lines :@anujsinghwd What exactly resolved the issue? Please post the solution so future readers can be helped as well.