在Android Studio路径中找不到SDK文件夹,并且SDK Manager无法打开 [英] Can't find SDK folder inside Android studio path, and SDK manager not opening

查看:1546
本文介绍了在Android Studio路径中找不到SDK文件夹,并且SDK Manager无法打开的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经安装了Android Studio百万次,但是当我转到C:\ Program Files \ Android \ Android Studio时,找不到任何名为"SDK"的文件夹,也无法在计算机上的任何位置找到它任何一个. 另外,SDK管理器无法打开,我想这是与第一个链接的问题.

I have installed Android Studio for the millionth time but when i go to C:\Program Files\Android\Android Studio , i can't find any folder named "SDK" , can't find it any where on the computer either. Also, the SDK manager doesn't open, which i guess is a problem linked to the first one.

推荐答案

如果您已下载AS + SDK捆绑包:

假设默认值保持不变,您将在以下位置找到SDK: C:\Users\%USERNAME%\AppData\Local\Android

Assuming the defaults were left unchanged, you will find the SDK in C:\Users\%USERNAME%\AppData\Local\Android

如果此位置不存在,则可能是以下原因之一:您选择了一个自定义位置,或者根本错过了安装SDK,或者(不太可能)他们更改了默认安装位置.

If it is missing at this location, one of the following reasons apply: you have chosen a custom location, you missed to install the SDK at all, or (unlikely) they have changed the default install location.

注释#1:默认情况下,AppData目录是隐藏的.如果您具有标准的Windows配置,则上面的C:\路径应按原样"运行(按Win + R->粘贴路径-> Enter).

Note #1: the AppData directory is hidden by default. If you have a standard Windows configuration, the C:\ path above should work "as is" (hit Win + R -> paste the path -> Enter).

注意#2:除非您明确地将SDK放在其中,否则您将永远无法在Android Studio目录中找到该SDK.原因是在安装了较新版本的Android Studio之后,这些目录可能会被删除,因此您也必须重新安装SDK.

Note #2: you will never find the SDK in the Android Studio directory unless you have explicitly put it in there. The reason is that those directories might be deleted after installing a newer version of Android Studio and you would have to re-install the SDK as well.

如果您已经通过其他方式检索了独立的SDK:

SDK的位置可能有所不同(根据我的经验),但是(假定使用默认配置),您很可能会在C:\Program Files\AndroidC:\Users\%USERNAME%

The SDK location may vary (from my experience), however (assuming the default configuration) you will most likely find it in C:\Program Files\Android or C:\Users\%USERNAME%

这篇关于在Android Studio路径中找不到SDK文件夹,并且SDK Manager无法打开的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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