Delete password from Android emulator?

How to get rid of / exit the "Enter password to unlock" invitation in the Android emulator?

I would like to explain how this happened, but probably my fault. I am trying to use the android maven plugin to create applications for a custom kernel in order to get tools for creating a custom application for administering a device. I remember how I find the β€œDemos API” application in the emulator and use its β€œDevice Admin” button to register an account with Google (even if I already registered). Google gave up every account name I could think of, so I gave up. Or maven could compile an example application to administer the device in this kernel.

I am not sure how this happened in this state. Will study as soon as I get back to the emulator in working condition, if possible.

+5
source share
2 answers

All applications and files that you deployed to the Android emulator are stored in a file called userdata-qemu.img, located in the C: \ Users \ .android \ avd \ .avd folder. For example, I have an AVD named Android_2.2_Emulator; therefore, userdata-qemu.img is located in the C: \ Users \ Wei-Meng Lee.android \ avd \ Android_2.2_Emulator.avd folder.

If you want to restore the emulator to its original state (before reset it, that is), simply delete the userdata-qemu.img file.

+2
source

This seems to be fixed:

emulator -avd AVD2.2 \
-system out/target/product/generic/system.img \
-initdata out/target/product/generic/userdata.img \
-wipe-data
+1
source

All Articles