Clear data on Android Virtual Device

0
1082
Clear data on Android Virtual Device

If you often use Android Virtual Device for your Android or Flutter app development, you will need to regularly clear data on Android Virtual Device to reset the phone back to original state. Here’s how to do it.

Clear data on Android Virtual Device

The benefits of using virtual devices for development is that, you don’t need to have actual devices to test. Especially for Android devices, because there are so many Android vendors, it is almost impossible to buy all Android devices just for development and testing, unless you’re rich enough to afford all of that.

Clear data on Android Virtual Device is to reset the phone back to the default state, so that you can avoid many unexpected situations, where some others app might cause conflict or trouble with your current apps under development.

To clear data on Android Virtual Device, in Android Studio, open the AVD Manager dialog.

From here, right click on the virtual device you want to reset data, then choose Wipe Data.

Wipe Data for Android Virtual Device
Wipe Data for Android Virtual Device – fluttermaster.com

In order to do this, your device should not be running.

Alright, after wiping data, the virtual device will go back to the very first state, first snapshot when created.

Finally, you can have a fresh and clean device for Android and Flutter app development.