Cian
Cian

Reputation: 81

Why does my storage keep filling up?

I've noticed while developing an app, that my storage space keeps filling up. Repeated deployments from Android Studio seem to be slowly filling up the internal storage, as if the older iterations of the app are not getting uninstalled. I have specified a grade-aware Make (:app:uninstallAll) to attempt to alleviate this but I've had no success.

Any ideas?

EDIT

Apologies, I know this question had lot of potential scope. Accepted answer to manually manage the app installation. Using ADB-IDEA plugin to help with this. Will do for the moment. Thanks all.

Upvotes: 1

Views: 1871

Answers (1)

Adan_SL
Adan_SL

Reputation: 358

When you're debuggin with instant run, Android Studio makes the changes in cache, that's why the internal storage is filling up.

Try this:

  1. Delete the data of the app.
  2. Unninstall the app.
  3. In Android Studio, Menu Build -> Build APK and install it manually.

If you are affraid that your apk is taking too much space, you can use the APK Analyzer

Upvotes: 2

Related Questions