6

My app compiles successfully, but I get this error:

URI is not registered (Settings | Languages & Fragmeworks | Schemas and DTDs)

at

<?xml version="1.0" encoding="utf-8"?>
<resources xmlns:ns1="urn:oasis:names:tc:xliff:document:1.2">

in my arabic strings.xml


I've seen these links:

  1. Why is Android Studio reporting "URI is not registered"?
  2. Android Studio: Error parsing XML & URI is not registered
  3. Why am I getting error message "URI is not Registered"?

But none of them helped me.

Community
  • 1
  • 1
Ali Bdeir
  • 4,151
  • 10
  • 57
  • 117

1 Answers1

6

It turns out I was editing the DEBUG version of the strings.xml, to fix it, simply close the tab that has the error and re-open it.

Ali Bdeir
  • 4,151
  • 10
  • 57
  • 117