cowsay
cowsay

Reputation: 1332

How many versions of the Android SDK do I actually NEED installed?

I only have a 128GB SSD in my work laptop and I'm running on empty. The Android SDK directory is sucking up a ton of space (18GB).

I have a lot of old SDK versions installed.. do I need them anymore? Or is the latest version enough? I already have a lot of versions skipped, so I feel like it might be safe to delete some of the others.

For example, I have 4.0.3 (API 15) installed, but not 4.1.2 (API 16). Is it safe to remove everything below 5.1.1 (API 22), regardless of my build targets?

Upvotes: 0

Views: 501

Answers (2)

inmyth
inmyth

Reputation: 9060

One thing that makes the SDK folder explode is the system images. These are needed when you want to run AVD emulator and each version comes with variations (armeabi, intel, tv, etc). If you don't need to run emulators or just run specific versions then you should delete these.

Upvotes: 0

Alejandro Cumpa
Alejandro Cumpa

Reputation: 2363

You need just one to run the developer and it will compile with that version, if you want special compatibility with one specific version of Android you should test that app compiled with that version, and to compile with one version you need to download the sdk. But as long as you work fine with the last one and have (some) devices to test the app, just keep that and the extra libraries (if needed).

Upvotes: 1

Related Questions