Remove password from Android Emulator?

后端 未结 4 371
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-01-12 15:01

How to get rid of/get past the \"Enter password to unlock\" prompt in the Android emulator?

Wish I could explain how this got turned on but its probably my fault. I\

相关标签:
4条回答
  • 2021-01-12 15:38

    All applications and files that you have deployed to the Android Emulator are stored in a file named userdata-qemu.img located in the C:\Users\.android\avd\.avd folder. For example, I have an AVD named Android_2.2_Emulator; hence, the userdata-qemu.img file 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 (to reset it, that is), simply delete the userdata-qemu.img file.

    0 讨论(0)
  • 2021-01-12 15:42

    open C:\Users\User\.android\avd\your_device.avd\emulator-user.ini you get something similar to this

    window.x = 16
    window.y = 35
    uuid = 1581076634048
    

    the password in this case is 1581076634048 it worked for me

    0 讨论(0)
  • 2021-01-12 15:44

    Open AVD Manager -> Wipe Data

    0 讨论(0)
  • 2021-01-12 15:46

    This seems to have fixed it:

    emulator -avd AVD2.2 \
    -system out/target/product/generic/system.img \
    -initdata out/target/product/generic/userdata.img \
    -wipe-data
    
    0 讨论(0)
提交回复
热议问题