How to flash zip on Genymotion programmatically

最后都变了- 提交于 2019-12-03 02:37:40

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.

Paul's answer is good.

Also, we will soon release features related to continuous integration and automation. A command line tool will be included on these features. It allows you to do all what you can do with your mouse, but through the command line. It will be available to paid licenses.

You can find a demo we did at Droidcon Paris here.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!