android-emulator-container-scripts
android-emulator-container-scripts copied to clipboard
Cannot reuse AVD snapshot from one container in another
I am trying to reuse a snapshot created for an AVD in all the next spin ups of the emulator. Snapshot creation is going through fine and I could validate that I can spin-up an emulator in the same docker-container which uses the snapshot.
But once I take a copy of the AVD that has the snapshot and bringup a new container using this AVD instead of the default AVD results in Emulator getting into Unauthorized state.
Below are the changes I have made to spin-up emulator using snapshot
- Removed
-wipe-datain thelaunch-emulator.shscript - Pass the snapshot in the
LAUNCH_CMDof thelaunch-emulator.shas-snapshot new-snapshot
Is it possible to use snapshot while using launch-emulator.sh script? Is there any token that I need to generate so that emulator comes up with the snapshot?