Android Studio 3.0.1 错误 :Already seen doctype

标签 android android-studio android-gradle-plugin

我只使用 Psiphon 连接到 Internet。由于我已将 android studio 更新到版本 3,因此我面临以下 gradle sync 错误:

Error: Already seen doctype.

最佳答案

同步开始时,Android Studio 会显示代理设置。选中“启用 HTTPS 代理”并设置类似于 HTTP 代理设置的“主机名”和“端口名”。

Android Studio Proxy Settings

注意:5100 是我自己的代理端口,请使用您的代理端口号。

不要忘记如下设置 Android Studio 的代理设置:

Http Proxy settings

关于Android Studio 3.0.1 错误 :Already seen doctype,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47418488/

相关文章:

android - 如何在 Cursor 更新时更新 Listview header View?

android - Gradle同步失败: Cause: failed to find target with hash string 'android-22'

java - Gradle 和 Android Studio 从同一个 jar 复制的重复文件

android - Android Studio创建带有空白页面的新项目,该页面显示错误gradle “myapplication3”项目刷新失败

android - Android Studio 中的库 - 如何不生成完整副本

android - 使用 Android Studio 如何获得签名的、非调试的和 zip 对齐的 APK?

android - 单击时从自定义 ListView 获取数据

android - 背景在 iOS 上显示,但在 Android Xamarin 上不显示

android - 如何使用 Android NDK 打开相机

android - 如何自动删除 mockable-android-23.jar?