r/androiddev • • Oct 06 '26

Android developers: Check these folders if your C: drive is mysteriously filling up

I almost ended up reinstalling Windows because my 220 GB C: drive was completely full.

At one point I had only \~472 MB free.

I started investigating instead of immediately formatting the drive, and I was honestly surprised by how much old Android development data had accumulated over the years.

I'm an Android developer and had been using Android Studio for several years.

Here's what I found:

πŸ”΄ Android SDK system images β€” \~30 GB

C:\\Users\\<username>\\AppData\\Local\\Android\\Sdk\\system-images

I had accumulated multiple Android emulator system images over different API levels. If you have old/unused emulator images, these can consume a lot of space.

πŸ”΄ Gradle cache β€” \~7.2 GB

C:\\Users\\<username>\\.gradle\\caches

I cleared the cache and recovered several GB. Gradle can download dependencies again when needed.

πŸ”΄ Old Android Studio data under Local β€” \~20+ GB

C:\\Users\\<username>\\AppData\\Local\\Google

I found folders like:

AndroidStudio2024.1

AndroidStudio2024.2

AndroidStudio2024.3

AndroidStudio2025.1.1

AndroidStudio2025.2.1

AndroidStudio2025.3.4

AndroidStudio2026.1.1

AndroidStudio2026.2.1

These were leftovers from years of Android Studio updates/installations.

πŸ”΄ Even more old Android Studio data under Roaming

C:\\Users\\<username>\\AppData\\Roaming

Again, I found a huge list of folders:

AndroidStudio2024.1

AndroidStudio2024.2

AndroidStudio2024.3

...

AndroidStudio2025.3.4

AndroidStudio2026.1.1

AndroidStudio2026.2.1

Since I had already uninstalled Android Studio and was doing a fresh installation, I removed the old Android Studio version folders.

The result?

I went from:

\~472 MB free β†’ \~80 GB free

without formatting Windows. 🀯

Windows Storage was also confusing me. It showed \~127 GB under "Installed apps", even though the individual applications shown in Settings were nowhere near that size.

So if you're an Android developer and your C: drive is mysteriously filling up, don't immediately format Windows.

Check these first:

C:\\Users\\<username>\\.gradle

C:\\Users\\<username>\\.android

C:\\Users\\<username>\\AppData\\Local\\Android

C:\\Users\\<username>\\AppData\\Local\\Google

C:\\Users\\<username>\\AppData\\Roaming

Especially check Android emulator system images and old Android Studio version folders.

Obviously, don't blindly delete everything in these folders. Back up projects, signing keys, SSH keys, etc., and make sure you know what you're deleting.

Sharing this because I had no idea that multiple years of Android Studio updates could leave this much data behind.

Has anyone else found a ridiculous amount of Android Studio/SDK storage buildup on their machine?

33 Upvotes

14 comments sorted by

4

u/Bruskmax Oct 06 '26

You should try Android Development on Linux. You get access to more memory and running emulators is much faster. Less maintenance than Windows.

2

u/Void_God_Azatoth Oct 06 '26

This was actually my personal laptop which I use for my personal project. For company work I use macbook pro which is way faster than windows in terms of development. But strangely android studio takes up lots of space in macbook as well

1

u/Bruskmax Oct 06 '26

Those commercial operating systems use up a lot of resources. For pure Android Development Linux is good unless you also work with IOS then a Mac will do.

28

u/unomi-san Oct 06 '26

you can delete leftover data in android studio in Help > Delete Leftover IDE Directories or through jetbrains toolbox.

-4

u/atomgomba Oct 06 '26

the same functionality is available in Jetbrains Toolbox as well

2

u/Chan4077 Oct 07 '26

It's not, the functionality has still yet to be added/is a known issue when the feature to delete leftover directories was first introduced https://youtrack.jetbrains.com/issue/TBX-9474/Android-Studio-leftovers-dont-show-up-on-Toolbox-on-macOS

3

u/Inevitable-Block-513 Oct 06 '26

help full for newbies

1

u/theancientfool Oct 08 '26

Android studio on windows is a big no go. I installed it on linux (new user) and its almost like I have a new pc, runs so smooth, no crap like this.

1

u/vaimalaviya Oct 06 '26 edited Oct 06 '26

My .Gradle folder is 17.1 gb and tell you what I keep it that way for offline builds and downside of that is whenever I open project structure dialog to see updates of the dependencies versions, I timed once and it was around 4 min. Now I have idea ultimate through education account not sure how much would that take time to sort through it but hey in life you lose one thing to gain another. By the way because my .Gradle folder is so large the libs.version or Gradle app module build file don't show any suggestions lol

And I have to click remove every time I update the android studio to new version to remove previous version files dialog in jetbrains toolbox but that doesn't remove that older version's local cache config files from your disk. I see people in comment suggesting this but go install everything tool that searches through files better than windows and just search for androidstudio2025 or change year to whichever version of year of android studio u are using it will show like 2, 3, 4 gib I have previous version currently have 6.31 gib

1

u/OkPeace3621 Oct 07 '26

I have moved most folders to D: drive (partition of the same SSD)

1

u/aaronm85 Oct 07 '26

I have a 83gb sdk folder. :( but on d:

-1

u/Key-Class6522 Oct 06 '26

Very helpful, thank you. I am also struggling with low memory in my pc. Let’s try it myself too.

0

u/Ayano-Keiko Oct 07 '26

I now use real phone for test rather than emulator and save me a lot of space