我的Android SDK占用太多空间,而.temp目录占用90+ GB以上的空间. .temp目录有什么作用? [英] My Android SDK takes up too much space, and .temp directory takes up 90+ GB of space. What does the .temp directory do?
问题描述
当我检查我的系统"文件在Mac上占用的存储量时,我感到震惊:
I was alarmed when I checked the amount of storage my "System" files took up on my Mac:
所以我进入/Users/[User]/Library/Android,发现我的SDK占用了150+ GB的空间!因此,我获得了SDK内所有文件的信息,但看到它们显然不总计为152.64 GB.然后,我使用Cmd + Shift + Dot(.)显示了所有隐藏文件,并看到此.temp目录占用了91.89 GB的空间.所以我的问题是,这是为了什么?
So I went into /Users/[User]/Library/Android and saw that my SDK took up 150+ GB of space! So I got the info of all the files inside of the SDK but saw that they clearly do not add up to 152.64 GB. Then I used Cmd+Shift+Dot(.) to show all of my hidden files and saw that this .temp directory took up 91.89 GB of space. So my question is, what is it for?
推荐答案
我找到了答案:原来.temp文件夹仅存储过去的SDK Manager下载/更新操作:
I have found the answer: Turns out the .temp folder just stores past SDK Manager download/update operations: Check this Stack Overflow Post
所以我刚删除它并释放了90 GB的空间.
So I just deleted it and freed 90 GB of space.
(结果证明我有大量失败的安装.)
(Turns out I had a huge amount of failed installations.)
这篇关于我的Android SDK占用太多空间,而.temp目录占用90+ GB以上的空间. .temp目录有什么作用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!