Skip to content Skip to sidebar Skip to footer

Grade Error Parsing Xml: Prefix Must Not Be Bound To One Of The Reserved Namespace Names

I was working on my project when I have updated the Android Studio to version AI-141.2024585. Everything worked well before upgrading, but then the project didn't compile. I have

Solution 1:

It's because of crashlytics plugin. You may try to delete any crashltics-generated xml files in every modules, Then re-sync the gradle file of your app.

The crashltics-generated xml files looks like [ModuleXYZ]/src/res/values/com_crashlytics_xxx.xml

And Crashlytics seems to release an update you should also update the plugin.

Update After successfully building my project with procedure above it could happen again, it happened twice yesterday. Not sure why but just follow the procedure above it'll be fixed.

Solution 2:

I had the same problem and as Robert said the problem can be fixed deleting all the com_crashlytics_export_strings.xml files.

Also make sure in your build.gradle the crashlytics version is 2.4.0+ and the corrupteds files won't be generated again.

compile('com.crashlytics.sdk.android:crashlytics:2.4.0@aar') {
    transitive = true;
}

Post a Comment for "Grade Error Parsing Xml: Prefix Must Not Be Bound To One Of The Reserved Namespace Names"