SnakeException
SnakeException

Reputation: 1186

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

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

System Storage Allocation

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? All the directories shown without Cmd+Shift+Dot(.) .temp file

Upvotes: 4

Views: 2260

Answers (2)

K3Android
K3Android

Reputation: 36

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

Upvotes: 1

SnakeException
SnakeException

Reputation: 1186

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.

enter image description here

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

Upvotes: 4

Related Questions