Issue
What I would like to do:
- create manually AVD
- change device settings
- save it somehow
- always start AVD with the same settings as set right after creation
Is there any simple way to save state of AVD and load it?
Solution
- Manually create your AVD
- Change it's settings - for example turn on security
- Locate AVD on your hard drive
- Copy userdata-qemu.img to other location -> it contains of your current emulator configuration
- Start emulator by terminal by
emulator -avd AVD_NAME -initdata PATH/userdata-qemu.img -wipe-data
- wipe-data resets whole AVD to state after creation
- initdata sets file under path as initial state
By doing so your emulator will always launch with the same state as saved in userdata-qemu.img.
Answered By - F1sher
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.