在 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\Android
或 C:\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%