问题
I created a brand new emulator today but it is behaving weird today. Here is my setting:
When i start it up, it loads fine. Until it gets to the lock screen. I keep on dragging/swiping from bottom to top to unlock, but it wont! This is the first time I encountered such behaviour. I tried with target Android 6.0 - API Level 23
but was able to unlock. I want to test my app on Google API 23. Please help to figure out the proper setting values.
回答1:
Happened to me as well.
Another solution in addition to what @TTRansmit suggested is as below:
- Close emulator.
- Go to AVD manager screen, edit your Emulator and go to
Advanced Settings
. - Select
Cold boot
as Boot option located inEmulated Performance
section. This way you will be able to restart your emulator and get it unlocked without loosing data.
回答2:
I still did not solve this problem, somewhat. To get thru, what I did was I activated the Camera emulation then relaunched the emulator. On the lock screen, I dragged the Camera icon. The camera would crash and emulator would notify you about it thru a pop up dialog. Once you exit the dialog, it will go back to your homepage UNLOCKED! I know, it was weird but it worked.
回答3:
Power off (via holding power) on the device buttons and wipe data (from Android Virtual Device Manager) worked for me. It was turning off the Device Frame from the edit/Virtual Device Configuration screen of AVD that seemed to cause the problem.
来源:https://stackoverflow.com/questions/39589269/my-emulator-wont-unlock