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

2

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"
package="com.example.luisfrancisco.sinfilarregional
    
asked by Elenasys 10.09.2017 в 21:08
source

2 answers

1

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 в 20:13
0

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 в 17:17