Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!
  • Guest, before posting your code please take these rules into consideration:
    • It is required to use our BBCode feature to display your code. While within the editor click < / > or >_ and place your code within the BB Code prompt. This helps others with finding a solution by making it easier to read and easier to copy.
    • You can also use markdown to share your code. When using markdown your code will be automatically converted to BBCode. For help with markdown check out the markdown guide.
    • Don't share a wall of code. All we want is the problem area, the code related to your issue.


    To learn more about how to use our BBCode feature, please click here.

    Thank you, Code Forum.

"Execution failed for task ':app:processDebugResources'." in Android studio

Johna

Frontend Developer
Staff Team
Guardian
When I try building my app in android studio I get this error:
Code:
Executing tasks: [:app:assembleDebug] in project C:\Users\[My User Name]\AndroidStudioProjects\CookingConverterA10

> Task :app:preBuild UP-TO-DATE
> Task :app:preDebugBuild UP-TO-DATE
> Task :app:compileDebugAidl NO-SOURCE
> Task :app:compileDebugRenderscript NO-SOURCE
> Task :app:generateDebugBuildConfig
> Task :app:javaPreCompileDebug
> Task :app:generateDebugResValues
> Task :app:generateDebugResources
> Task :app:checkDebugAarMetadata
> Task :app:mergeDebugResources
> Task :app:createDebugCompatibleScreenManifests
> Task :app:extractDeepLinksDebug
> Task :app:processDebugMainManifest
> Task :app:processDebugManifest
> Task :app:mergeDebugNativeDebugMetadata NO-SOURCE
> Task :app:mergeDebugShaders
> Task :app:compileDebugShaders NO-SOURCE
> Task :app:generateDebugAssets UP-TO-DATE
> Task :app:mergeDebugAssets
> Task :app:processDebugManifestForPackage
> Task :app:compressDebugAssets
> Task :app:processDebugJavaRes NO-SOURCE
> Task :app:processDebugResources
> Task :app:mergeDebugJavaResource
> Task :app:checkDebugDuplicateClasses
> Task :app:desugarDebugFileDependencies
> Task :app:mergeExtDexDebug

AAPT2 aapt2-7.0.3-7396180-windows Daemon #0: Unexpected standard output: Ready

> Task :app:processDebugResources FAILED
> Task :app:mergeLibDexDebug
> Task :app:mergeDebugJniLibFolders
> Task :app:mergeDebugNativeLibs NO-SOURCE
> Task :app:stripDebugDebugSymbols NO-SOURCE
> Task :app:validateSigningDebug
> Task :app:writeDebugAppMetadata
> Task :app:writeDebugSigningConfigVersions

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:processDebugResources'.
> A failure occurred while executing com.android.build.gradle.internal.res.LinkApplicationAndroidResourcesTask$TaskAction
   > AAPT2 aapt2-7.0.3-7396180-windows Daemon #0: Daemon startup failed
     Please check if you installed the Windows Universal C Runtime.
     This should not happen under normal circumstances, please file an issue if it does.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/7.0.2/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 15m 28s
23 actionable tasks: 23 executed

Can someone pls tell me why I'm getting this error and how to fix it.
Thanks : )
 
Last edited:
Please check if you installed the Windows Universal C Runtime.
Also, try for running with options like it said.
This is an internal gradle error, you may have to file an issue somewhere for it.
There is a command thing where you may run a command like ":app:assembleDebug --stacktrace".
Could you try running with that for a more detailed error message.
You may need to update your gradle files as near end it says "Deprecated Gradle features were used in this build".
Maybe this helps, I had experience with previous Android Studio but this thing is always updating.
Sometimes doing a remove auto generated things (please keep them) to try for regeneration helps.
X E.
 
Please check if you installed the Windows Universal C Runtime.
Also, try for running with options like it said.
This is an internal gradle error, you may have to file an issue somewhere for it.
There is a command thing where you may run a command like ":app:assembleDebug --stacktrace".
Could you try running with that for a more detailed error message.
You may need to update your gradle files as near end it says "Deprecated Gradle features were used in this build".
Maybe this helps, I had experience with previous Android Studio but this thing is always updating.
Sometimes doing a remove auto generated things (please keep them) to try for regeneration helps.
X E.
Thanks for the reply.
I probably just ended up abandoning it or something. lol.
I haven't used android studio in over a year, but maybe this will help someone else in the future.
 
Thanks for the reply.
I probably just ended up abandoning it or something. lol.
I haven't used android studio in over a year, but maybe this will help someone else in the future.
You do know you can use like execute command or command prompt in Android Studio by either searching or on right side find maybe gradle and open, then there is a button.
If you do not know this it is a good thing to know for Android studio, especially if you want very detailed what an error is.
With stacktrace it always show you which line.
X E.
 

New Threads

Latest posts

Buy us a coffee!

Back
Top Bottom