You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

VS2022中Android设备/SDK管理器下载失败:无法建立SSL/TLS安全通道信任关系

VS2022无法更新/创建/下载Android设备或SDK包的解决求助

使用Visual Studio 2022时,无法完成Android设备的创建、更新操作,也无法下载任何Android SDK包。在Android Device Manager创建设备、Android SDK Manager下载/更新SDK内容时均会失败,弹出以下SSL/TLS证书验证错误:

[23-11-22 11:26:46.25] System.Net.Http.HttpRequestException: An error occurred while sending the request. —> System.Net.WebException: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. —> System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure.

已尝试以下解决步骤,但均无效:

  • 在注册表中禁用TLS 1.3
  • 重新安装Visual Studio
  • 将Visual Studio更新至最新版本
  • 将Device Manager、SDK Manager和adb.exe添加至Windows防火墙“允许应用”列表

当前使用的软件版本:

  • Visual Studio Professional 2022 V17.8.0.23
  • Android Device Manager v17.8.0.23
  • Android SDK Manager v17.8.0.31

VS2019及对应管理器可正常操作,但因项目需要VS2022支持的最新SDK版本,必须解决该问题。已向微软反馈但未获得有效解决方案,恳请提供修复方法。

内容的提问来源于stack exchange,提问作者ChrisJ

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.07.05 01:51:08