Reputation: 3
Execution failed for task ':app:mergeDebugResources'. A failure occurred while executing com.android.build.gradle.internal.res.ResourceCompilerRunnable
Resource compilation failed (Failed to compile values resource file /../app/build/intermediates/incremental/debug/mergeDebugResources/merged.dir/values/values.xml. Cause: java.lang.IllegalStateException: Can not extract resource from com.android.aaptcompiler.ParsedResource@579a2975.,Can not extract resource from com.android.aaptcompiler.ParsedResource@53a5a75e.). Check logs for more details.
I don't know how solve this.
Upvotes: 0
Views: 548
Reputation: 1
Check if there are updates available for Gradle and the Android Gradle Plugin. Outdated versions can sometimes cause compatibility issues. You can update these in your project's build. gradle files. Ensure that your Android SDK tools are up to date. Outdated SDK tools can sometimes cause compatibility issues. You can update them using the SDK Manager in Android Studio.
Upvotes: 0
Reputation: 338
Check your string resources that located in strings.xml. Be ensure that you don't use any special character. You can review special characters and escape characters in the document here. https://developer.android.com/guide/topics/resources/string-resource#escaping_quotes
Upvotes: 0