无法在 android studio 3.2.1 版中打开 .xml 文件

Posted

技术标签:

【中文标题】无法在 android studio 3.2.1 版中打开 .xml 文件【英文标题】:Unable to open .xml file in android studios version 3.2.1 【发布时间】:2019-04-14 01:22:48 【问题描述】:

android studios 版本 3.2.1 无法构建,并且会无限加载时间。This is the screen I get 此错误发生在最新版本的 android studios 中。我重新安装了软件并确保一切都是最新的,但我仍然无法构建新创建的 .xml 文件。但是,我可以查看和编辑代码。 I get this error every time I try to open any .xml file. 任何帮助将不胜感激。谢谢。

【问题讨论】:

【参考方案1】:

试试这个

1. Go to File->Setting-->Gradle-->Set it to offline mode and check

【讨论】:

谢谢维沙尔。我试过了,没有提到任何错误,但我仍然无法构建。

以上是关于无法在 android studio 3.2.1 版中打开 .xml 文件的主要内容,如果未能解决你的问题,请参考以下文章

更新至Android Studio 2.3.3中的gradle 3.2.1无效

Android Studio 3.2.1中的USB调试问题

Android Studio:需要407代理身份验证

Flutter app Android studio 3.2.1,构建失败

将 Android Studio 升级到 3.2.1 后合并清单警告

Flutter - 获取 SHA-1 证书 - Android Studio 3.2.1