Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android/Eclipse: where to write command-lines like "emulator -wipe-data"?

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?

like image 609
Regis_AG Avatar asked Jul 26 '11 14:07

Regis_AG


People also ask

How do I wipe my Android emulator?

Run and stop an emulator, and clear data To stop a running emulator, click Menu and select Stop. To clear the data for an emulator, select Wipe Data. Or click Menu and select Wipe Data.

How do I clear my emulator memory?

Just delete/uninstall other apps from your emulator. Inside the emulator go to the Settings app, then Applications -> Manage Applications -- you can delete them from there.

What is wipe data in AVD Manager?

-wipe-data Delete user data and copy data from the initial data file. This option clears the data for the virtual device and returns it to the same state as when it was first defined. All installed apps and settings are removed. For example: $ emulator @Nexus_5X_API_23 -wipe-data.

How do I run an emulator from command prompt?

Starting the emulator Use the emulator command to start the emulator, as an alternative to running your project or starting it through the AVD Manager. Here's the basic command-line syntax for starting a virtual device from a terminal prompt: emulator -avd avd_name [ {- option [ value ]} … ]


1 Answers

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
like image 103
Caner Avatar answered Oct 18 '22 10:10

Caner