Android &引用;URI未注册(设置“语言”框架“模式和DTD)”&&引用;属性工具:此处不允许使用上下文“;

Android &引用;URI未注册(设置“语言”框架“模式和DTD)”&&引用;属性工具:此处不允许使用上下文“;,android,Android,我的android studio显示两组错误(“URL未注册(设置|语言与框架|模式和DTD)”、“属性工具:此处不允许上下文”),无法生成。我该怎么办 我刚在一周前开始上安卓课程,我被要求更新IDE&Pluggin,我做到了。下载了所有sdk工具 此代码位于我的activity_main.xml上 <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.andro

我的android studio显示两组错误(“URL未注册(设置|语言与框架|模式和DTD)”、“属性工具:此处不允许上下文”),无法生成。我该怎么办

我刚在一周前开始上安卓课程,我被要求更新IDE&Pluggin,我做到了。下载了所有sdk工具

此代码位于我的activity_main.xml上

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width ="match_parent"
android:layout_height ="match_parent"
tools:context=".MainActivity">

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Hello World!"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="parent" />

</RelativeLayout>

到目前为止,它仍在尝试构建…“等待构建完成…”