我在标题中说这个xml文件有问题.
我不知道如何解决问题,因为我已经搜索了很多,只发现使用清理或更改这种类型的验证的答案忽略
以上都没有工作,因为我想清除这个问题,以便我的R将在gen文件夹中.
希望有人可以很快看到问题,因为这是我的examprojekt我正在努力,不能得到进一步解决这个错误:)
<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>
解决方法:
使用以下命令启动XML:
<?xml version="1.0" enCoding="utf-8"?><!DOCTYPE relativeLayout>
总结 以上是内存溢出为你收集整理的android – 错误:没有检测到文档的语法约束(DTD或XML模式)全部内容,希望文章能够帮你解决android – 错误:没有检测到文档的语法约束(DTD或XML模式)所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)