Search code examples
androidandroid-studiomanifest

AndroidManifest.xml xmlns isn't working in Android Studio


My manifest is interpreting my xmlns:android as an error, saying that I should "add Xsi schema location for external resource":

Manifest error

Could someone please tell me what's going on with my projects' manifests, it's really confusing since I don't know when this even started happening.

Thanks in advance!


Solution

  • You need not worry about this file. On the top of the file, you see that is an auto-generated file. You need not modify it. If you modify it, then run your app, again it will be changed to what it was before. So you need not modify it.If you want the original manifest, below the code in the manifest, you will see two tabs named Merged Manifest and Text. The Text is the one you need to modify. See the image below enter image description here

    See the bottom of the image. Never ever bother about the Merged Manifest. If you do, you will waste your time