Emulator restarts after snapshot load
- by reox
I've set up a android emulator with a snapshot of a specific state i need to go back every time.
the snapshot is created and is listed and i can also start directly with this snapshot with
emulator -avd MyAVD -snapshot mystate -no-snapshot-save
the problem is now that the emulator restart itselfs after i load the snapshot after i did my changes in the emulator. So if i use
echo -e "avd snapshot load mystate\nexit" | nc localhost 5554
the snapshot is loaded correctly but then after some seconds i see the bootloader screen. Whats happening there?
this phenomen is repeatable with different emulators and different snapshots. is it possible that i just misuse a feature here?
edit: it seems this problem is only occuring when i load a snapshot multiple times.
after starting the emulator, everything is working quite well. now i load my snapshot, also everything is working well.
but when i now load the same snapshot again, it will correctly load it but then the emulator will restart.
so is there any possibility to load a snapshot multiple times? otherwise i always need to restart my emulator, which takes a long time...