title: Why is Android Studio reporting "URI is not registered"?
body: <p>So I've given Android Studio a try, because I really like Resharper and noticed that the IDE had some of their functionality built into it. Having now created a default new project, I added a new layout file and wanted to change the existing default 'hello world' example layout, and I got an &quot;URI is not registered&quot; error on the following lines:</p>
  <pre class="lang-xml prettyprint-override"><code>&lt;RelativeLayout xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;
   xmlns:tools=&quot;http://schemas.android.com/tools&quot;
  </code></pre>
  <p>I've done nothing else to the default generated project yet. I've come across another question that seems to be related (<a href="https://stackoverflow.com/questions/6147051/intellij-android-project-schema-uri-not-registered">Intellij Android project schema URI not registered?</a>), but just ignoring something feels odd to me. I actually tried it, but that causes <code>RelativeLayout</code> (and probably all other Android related stuff) to be not recognised any more (error message: &quot;Cannot find the declaration of element 'RelativeLayout'&quot;).</p>
  <p>Any ideas on how to solve this problem?</p>
  <p><img src="https://i.stack.imgur.com/95PWIl.jpg" alt="enter image description here" /></p>
  <p><img src="https://i.stack.imgur.com/vWksHl.jpg" alt="enter image description here" /></p>
  <p><img src="https://i.stack.imgur.com/GzDRsl.jpg" alt="enter image description here" /></p>