I launched Android emulator. I connected to emulator using telnet localhost 5554.
When I try to save a snapshot with avd snapshot save foo, I get KO: No block device can accept snapshots.
When I try to list available snapshots with avd snapshot list, I get KO: No available block device supports snapshots.
The main reason of "no available block device" is that you do not assign the snapshot file to the emulator. You can restart your emulator with the following parameter:
emulator -snapstorage path/to/data/dir/snapshots.img
You can refer more information from "emulator -help".
PS: The snapshots.img uses a specific format and you cannot use just a blank file as the snapshot storage. You can see here for more information about creating a snapshot image:
How to create the snapshots.img from console?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With