Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"URI is not registered" error Android Studio

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.

like image 256
Ali Bdeir Avatar asked Jul 31 '16 17:07

Ali Bdeir


1 Answers

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.

like image 174
Ali Bdeir Avatar answered Sep 25 '22 09:09

Ali Bdeir