My Android SDK takes up too much space, and .temp directory takes up 90+ GB of space. What does the .temp directory do?

痞子三分冷 提交于 2020-01-13 05:46:10

问题


I was alarmed when I checked the amount of storage my "System" files took up on my Mac:

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?


回答1:


I have found the answer: Turns out the .temp folder just stores past SDK Manager download/update operations: Check this Stack Overflow Post

So I just deleted it and freed 90 GB of space.

(Turns out I had a huge amount of failed installations.)




回答2:


You should probably check out the system-images directory and uninstall what you don't need.



来源:https://stackoverflow.com/questions/56777480/my-android-sdk-takes-up-too-much-space-and-temp-directory-takes-up-90-gb-of-s

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!