url is not registered http //schemas.android.com/apk/res/android


I started working with recyclerview and cardview and then I had to put a dependency and when it was synchronized the build sent me this error, I already deleted the activitys and classes that I used, I also deleted the dependencies that I did not need and I updated the android studio and It did not work:


url is not registered http //schemas.android.com/apk/res/android

manifest xmlns:android="http://schemas.android.com/apk/res/android"
asked by Elenasys 10.09.2017 в 23:08

2 answers


In my case I just solved it by changing the SDK version. Initially I had the project in API 27, and when I imported the project into another PC I had the API 28 by default and it gave me this error.

By returning it to API 27, it was resolved

Project Structure -> Platform Settings -> SDKs
answered by 03.09.2018 в 22:13

The message shown is:


uri is not registered link

The problem is that the file in question can not find the namespace because it is in the wrong location.

In the case of the Manifest.xml file, it must be found inside:

In the case of layouts, it must be inside the folder /res , remember that the layout must be within /res/layout

answered by 11.09.2017 в 19:17