skip to Main Content

Error: Caused by: org.gradle.workers.internal.DefaultWorkerExecutor$WorkExecutionException: A failure occurred while executing
com.android.build.gradle.internal.res.ParseLibraryResourcesTask$ParseResourcesRunnable


Wow, This is my first Stackoverflow question as a programmer.
The problem I’m getting is in Android ( Java ) when running the project
tried many things but not got any solution. Please help.

4

Answers


  1. I just had the problem, just need to update all dependencies in build.gradle(:app) folder :

    https://i.stack.imgur.com/lg7OP.png

    When the dependencies are not up to date, they are highlighted, you hover your mouse over them and it prompts you to update them :

    https://i.stack.imgur.com/EhnU0.png

    Login or Signup to reply.
  2. I got the same error for using ‘<‘ character in the value for the attribute "android:text" associated with an element type "TextView".

    Try:

    1. Build/Clean Project
    2. Build/Rebuild Project
    
    Login or Signup to reply.
  3. can be caused of
    implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:$lifecycle_version"

    Login or Signup to reply.
  4. The issue for me was in the data_extraction_rules.xml file. I deleted the TODO but also deleted the <!-- which was on the same line. After re-adding <!-- this resolved the error.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search