I\'m trying to flash google apps into a genymotion emulator. I can do this using the drag and drop feature, but it\'s required for my project that the google apps .zip is alread
Genymotion VMs contain some special scripts that interface with their launcher and skin controls. The one that you need is /system/bin/flash-archive.sh
which is what gets run when you drag & drop a .zip
archive.
You can run flash-archive.sh
directly using ADB or from a process within the VM. So if you have the zip in /sdcard/Download/gapps.zip
, you can run the following command from the host machine:
adb shell flash-archive.sh /sdcard/Download/gapps.zip
adb reboot
Don't forget to install the ARM translation package first, if applicable. It can be done using the same sequence.