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
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
I got the same error for using ‘<‘ character in the value for the attribute "android:text" associated with an element type "TextView".
Try:
can be caused of
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:$lifecycle_version"
The issue for me was in the
data_extraction_rules.xml
file. I deleted theTODO
but also deleted the<!--
which was on the same line. After re-adding<!--
this resolved the error.