简体   繁体   English

Android Studio无法下载SDK

[英]Android Studio can not download SDK

I have recently got a SSD and changed my Windows.我最近有了一个 SSD 并更换了我的 Windows。 But when I tried to install Android Studio, the wizard performed a quick install and downloaded nothing.但是当我尝试安装 Android Studio 时,向导执行了快速安装并没有下载任何内容。 When I run the program it says "No Android SDK found".当我运行该程序时,它显示“未找到 Android SDK”。 But the real problem is the next page (SDK components setup): the program detects an installed SDK that can't be checked or deleted, and there is a path that doesn't even exist.但真正的问题是下一个页面(SDK组件设置):程序检测到安装的SDK无法检查或删除,并且有一个甚至不存在的路径。 SDK components setup SDK组件设置

I've tried to change the path to "C:\\SDK", but whether I do it or not I will encounter 0 B total download size and the final page says "nothing to do!, Android SDK is up to date, SDK emulator directory is missing".我已经尝试将路径更改为“C:\\SDK”,但是无论我是否这样做,我都会遇到 0 B 总下载大小并且最后一页说“无事可做!,Android SDK 是最新的,SDK模拟器目录丢失”。

Clicking on "create new project" will show me this error: "Your Android SDK is missing, out of date or corrupted" with the "open SDK manager" button.单击“创建新项目”将显示以下错误:“您的 Android SDK 丢失、过期或损坏”以及“打开 SDK 管理器”按钮。 SDK manager has no components on the list and clicking on "edit" will lead me to SDK components setup page again. SDK 管理器列表中没有任何组件,单击“编辑”将再次引导我进入 SDK 组件设置页面。 Android SDK安卓SDK

在 android studio 4.2.1 我遇到了同样的问题,但它与我的区域格式有关,我将其更改为英文形式控制面板 > 更改日期、时间或数字格式如果区域格式不是您的问题您可能会更改您的 DNS服务器并检查您的代理设置

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM