Showing posts with label -wipe-data. Show all posts
Showing posts with label -wipe-data. Show all posts

Tuesday, January 18, 2011

how to wipe data when starting Android emulator?

Today, I wanted to wipe out all the test programs i have created in my android emulator. I googled it few times and found -wipe-data parameter in SDK documentation.

http://developer.android.com/guide/developing/tools/emulator.html

but how to use -wipe-data parameter ? it's easy, )but I could not find a way to do it using the Eclipse IDE)

Open command prompt,

android-sdk-windows\tools>emulator -avd -wipe-data
eg.
emulator -avd androidavd2 -wipe-data

this should work!