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

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

问题描述

我已经安装了第一百万次 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 包:

假设默认值保持不变,您将在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:除非你明确地把它放在那里,否则你永远不会在 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 管理器未打开的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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