简体   繁体   English

Android Studio SDK下载位置

[英]Android Studio SDK download location

Ok, so my questions not really about programming, but it concerns Android Studio so I thought I'd get help from here. 好的,所以我的问题不是真正的关于编程的问题,而是关于Android Studio的问题,因此我想从这里获得帮助。 Does anyone know where Android Studio initially downloads SDKs? 有人知道Android Studio最初在哪里下载SDK吗? I don't have a very powerful setup, when I downloaded Android Studio I only had about 30gb in my C:Drive and 70gb in D: Drive. 我没有一个非常强大的设置,当我下载Android Studio时,我的C:Drive中只有30gb,而D:Drive中只有70gb。 When I opened Android Studio the first thing I did was, ofc, download the SDKs that I needed. 当我打开Android Studio时,我要做的第一件事就是下载所需的SDK。 I set the SDK location to D:/sdk Drive. 我将SDK位置设置为D:/ sdk驱动器。 The problem with that was when it was downloading, I was doing idle stuff, the computer suddenly prompted me that it nearly had no space left. 问题是当它正在下载时,我正在做空闲的工作,计算机突然提示我它几乎没有剩余空间了。 I opened My Computer and saw that C: only had 1gb left. 我打开“我的电脑”,发现C:仅剩1GB。 Which was stupid! 真是愚蠢! I chose D: as my SDK location. 我选择D:作为我的SDK位置。 Now since this couldn't be, and my computer was lagging like hell because of this, I had to uninstall Android Studio, but now the new problem is that I got "some" memory back, but only 9gb! 现在由于这不可能,并且我的计算机因此而滞后,我不得不卸载Android Studio,但是现在新的问题是我获得了“一些”内存,但只有9gb! I literally lost 20gb of memory without knowing where it went. 我真的不知道它去了哪里丢失了20gb的内存。 My guess is that it's from those uninstalled, undeleted SDKs, or something. 我的猜测是它来自那些未安装,未删除的SDK或其他东西。 Correct me if I'm wrong? 如果我错了纠正我? I wanna know if there's a way for me to find those unwanted data. 我想知道是否可以找到那些不需要的数据。 I still plan on reInstalling Android Studio but maybe another time. 我仍然计划重新安装Android Studio,但也许还有一次。

General answer if you still have Android Studio installed You can check the download location of the Android SDK from Android Studio in case you have it installed ( Settings -> Appearance & Behavior -> System Settings -> Android SDK ). 如果仍然安装了Android Studio,则为一般性回答如果安装了Android Studio,则可以从Android Studio中检查Android SDK的下载位置( Settings -> Appearance & Behavior -> System Settings -> Android SDK )。

In my case on a Windows machine it was C:\\Users\\$user\\AppData\\Local\\Android\\Sdk – so you might have a look in this folder. 在我的Windows机器上,它是C:\\Users\\$user\\AppData\\Local\\Android\\Sdk ,因此您可以在此文件夹中查找。

I found it. 我找到了。 Altho thumbs up to Matthias Wenz, since he pointed me to the right direction. Altho赞成Matthias Wenz,因为他为我指出了正确的方向。 It's in "AppData\\local\\temp" if anyone's lookign for them too. 如果有人也对它们感兴趣,它位于“ AppData \\ local \\ temp”中。

SDK下载位置

In Windows OS, you can find them in the following addresses: 在Windows操作系统中,可以在以下地址中找到它们:

%temp%\PackageOperationXX

Or 要么

%userprofile%\AppData\Local\Temp\PackageOperationXX

like: 喜欢:

%temp%\PackageOperation01
%userprofile%\AppData\Local\Temp\PackageOperation01

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

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