I cannot fix this error even after trying the mentioned techniques in other posts. I don't have crashlytics in my application. It's rather simple. The issue persists even after cleaning the build and invalidating caches. The following code is present in the values.xml file with a curly red line under the resources keyword.
<resources
xmlns:ns1="urn:oasis:names:tc:xliff:document:1.2"
xmlns:ns2="http://schemas.android.com/tools"
xmlns:ns3="http://www.w3.org/2000/xmlns/">
...
I know this question was asked a few times but I'm not able to fix the error in my application.