seems to work fine It's complaining about the attribute tools:context=".MainActivity" that is part of the tag. It doesn't know what the tools: prefix means. You need to add xmlns:tools="http://schemas.android.com/tools" as an attribute to the tag. Alternatively, get rid of the tools:context attribute for the tag.
Android - The prefix "xmlns" cannot be bound to any namespace explicitly; neither can the namespace for "
I wish this help you In my case deleting the com_crashlytics_export_strings.xml file fixed this error.
<?xml version="1.0" encoding="utf-8" standalone="no"?>
This file is automatically generated by Crashlytics to uniquely
identify individual builds of your Android application.
Do NOT modify, delete, or commit to source control!
<string xmlns:ns0="http://schemas.android.com/tools" name="com.crashlytics.android.build_id" ns0:ignore="UnusedResources,TypographyDashes" translatable="false">xxxxxxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx</string>
How can I replace xmlns namespace attributes with prefixes?
wish of those help You're not a million miles away. All you need to do is remove any existing namespace declaration attributes and then add the ones you want to the root. The rest will be taken care of.