Android/Eclipse: where to write command-lines like

2020-03-14 02:21发布

问题:

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?

回答1:

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


回答2:

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.



回答3:

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.

Click wipe data.