# Can I delete old Android SDK platforms (API levels)?

- URL: https://moreroom.app/folders/android-platforms
- Item: Android SDK platforms (old API levels)
- Location: `~/Library/Android/sdk/platforms` (items inside)
- Verdict: Review first — Might hold something you care about. Look inside before removing it.
- Comes back on its own: yes
- Official command: `sdkmanager --uninstall "<package>"`
- Source: MoreRoom rules catalogue (2026-10-17), by Yando Pte. Ltd.

## What is it?

Each folder in `~/Library/Android/sdk/platforms` is the Android SDK for one API level (`android.jar` and related files), used when a project compiles against that level. Older levels stay installed when you raise `compileSdk`, and each typically takes from about 100 MB to a few hundred megabytes.

## What happens if you delete it?

A project that still compiles against a removed level downloads it again on the next build through the Android Gradle plugin, or you can reinstall it in the SDK Manager.

## How to remove it properly

In Android Studio, open Settings › Languages & Frameworks › Android SDK › SDK Platforms and untick the API levels you no longer compile against; or run `sdkmanager --uninstall "platforms;android-<level>"` in Terminal (permanent).
