如标题中所述,我对这个 xml 文件有疑问。我不知道如何解决这个问题,因为我已经搜索了很多,并且只找到了使用这种类型的清理或更改验证来忽略上述任何一个的答案,因为我想解决这个问题,以便我的 R 将在根文件夹。
希望有人能尽快看到问题,因为这是我正在处理的考试项目,如果不解决此错误就无法进一步解决:)
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".Dekrypter" >
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:layout_centerVertical="true"
android:text="@string/hello_world" />
</RelativeLayout>