ibraizQ9
ibraizQ9

Reputation: 53

How can I avoid deleting application data when Android Studio asks to reinstall app?

I have an app which downloads a lot of data in the background and it is saved as Application data. So, when I'm debugging and sometimes Android Studio gives me this dialog: enter image description here

And I want to avoid downloading all that application data(as it takes a lot of time). So what will be a possible solution or a hack to achieve it.

Upvotes: 0

Views: 552

Answers (3)

mr L
mr L

Reputation: 1018

If you are using a rooted physical device or an emulator. Access to files of the application from ''Device file explorer'' inside android studio And copy what you need before uninstalling app. Next time just recopy those files to the same emplecement in the device

Upvotes: 0

Shubham Kumar
Shubham Kumar

Reputation: 295

The error message is insufficient storge, you must have empty space in your device to install application, delete unused data,cache and other stuffs you don't need, maybe this will help you

Upvotes: 1

Shashwat
Shashwat

Reputation: 172

Uninstall other apps which you don't use. Delete photos/videos etc. Delete caches.

Upvotes: 0

Related Questions