Reputation: 15402
Many blogs mention writing command lines to do different stuffs...but I don't know where to write these command lines! For example, I want to clean my emulator with emulator -wipe-data
but where should I put this?
Upvotes: 16
Views: 12785
Reputation: 184
So Simple Solution. If you have Ubuntu System, Then Go to this path:
/home/rahul/Android/Sdk/emulator
If you have other Operating System, Then go to this path according to you. After Check List of Emulators using this command:
./emulator -list-avds
It will show thw result look like:
Pixel_3_XL_API_29
Pixel_3_XL_API_29_2
Pixel_3_XL_API_29_3
After, All Wipe Command:
emulator -avd Pixel_3_XL_API_29_3 -wipe-data
Upvotes: 1
Reputation: 2459
You can follow the accepted answer or simply open the AVD manager and follow the below demonstration to wipe the emulator data.
Click the down arrow icon next to the edit icon.
Upvotes: -4
Reputation: 125
to set the wipe option on Mac, with the Android SDK Manager running, click the start button to launch an AVD. A Launch Options window opens. There is a Wipe User Data checkbox about half way down.
Upvotes: 1
Reputation: 59258
Open command prompt & goto
android-sdk-windows\tools
Then for the following command:
emulator -avd -wipe-data
use something like:
emulator -avd myandroidavd -wipe-data
Upvotes: 34