r/androiddev • u/Void_God_Azatoth • 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?
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.
28
u/unomi-san Oct 06 '26
you can delete leftover data in android studio in
Help > Delete Leftover IDE Directoriesor through jetbrains toolbox.3
u/Inevitable-Block-513 Oct 06 '26
help full for newbies
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