不允许使用DOCTYPE Android Studio 3.0.0 [英] DOCTYPE not allowed Android Studio 3.0.0

查看:149
本文介绍了不允许使用DOCTYPE Android Studio 3.0.0的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

升级到Android Studio 3.0.0,同步和更新gradle插件时,出现以下错误:

Upgrading to Android Studio 3.0.0, syncing and updating gradle plugin, I get the following error:

Error:DOCTYPE not allowed if function "http://apache.org/xml/features/disallow-doctype-decl" is set to true.

这是什么意思?有什么解决的建议吗?我需要IDE ...

What does this mean? Any suggestion to solve this? I need the IDE...

推荐答案

您可能会在Messages的"Gradle Build"选项卡中看到更多特定的详细信息.

You may see more specific details in the "Gradle Build" tab of Messages.

删除任何AndroidManifest或XML文件中的<!DOCTYPE> xml标签.

Remove the <!DOCTYPE> xml tag you have in any AndroidManifest or XML files.

这篇关于不允许使用DOCTYPE Android Studio 3.0.0的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆