How to copy virtual devices downloaded by Genymotion to another machine?

后端 未结 10 459
独厮守ぢ
独厮守ぢ 2020-12-12 11:10

I have installed Genymotion for Android in one machine (windows PC) and downloaded a Nexus virtual device. How can I copy the virtual device to another development machine?<

相关标签:
10条回答
  • 2020-12-12 11:27

    The answer marked as correct is no longer valid for GenyMotion 2.2.0 (at the time I didn't have high enough reputation to comment so I added this answer instead).

    Testing with GenyMotion 2.2.0 the image files are now downloaded into:

    C:\Users\ {username}\AppData\Local\Genymobile\Genymotion\ova

    To re-use the downloaded images on a another machine without downloading them again:

    1. Copy the desired image file(s) to the ova folder on the second machine.
    2. Restart GenyMotion.
    3. Create a new device matching the version of the image you copied over.
    4. GenyMotion will warn that the new version will be downloaded.
    5. Click next (don't tick the option to use cached files).
    6. GenyMotion should create the new device without downloading the image.

    Update - potential problems:

    Version of Genymotion and the virtual device are different:

    If you receive this error message:

    1. Open VirtualBox
    2. Right-click your Genymotion virtual device and select Settings
    3. Select the System section
    4. Check that the Acceleration tab is not dimmed and that the VT-x/AMD-v and Nested Paging options are enabled
    5. If not: try enabling virtualization in your PC's BIOS.

    Thanks to Ahmed Nazmy who found the problem and posted a solution in the comments!

    0 讨论(0)
  • 2020-12-12 11:29

    The files in the VirtualBox folder are likely just the actual machine configurations, not the downloaded image files.

    On my system (Windows 8 x64) the downloaded images are located here:

    \Users\{username}\AppData\Local\Genymobile\

    Inside this folder is another folder called LaunchPad. If you copy this folder to the same location on your other machine it should work.

    I would advise you install and run Genymobile on the other machine, then exit it and copy the folder mentioned above. Re-launching it should then pickup the image files.

    You will have to re-create the actual devices, but you won't have to download the images again.

    I have also noticed that you only need to download 4 images - any tablet with/without google apps and any phone with/without google apps. All the different phones/tablets use the same physical images once they are downloaded.

    UPDATE (for Genymotion v1.1.0):
    The folder for has changed in v1.1.0 - it is now called Genymotion instead of LaunchPad, but it is still in the path indicated above. In order to retain already downloaded images (from v1.0), rename the LaunchPad folder to Genymotion (or copy it's contents if it already exists).

    Update for Genymotion v2.0+:
    The folder is now called Genymotion (instead of Launchpad) but it's contents remain the same, just copy it to your other installations.

    Additionally, images with Google Apps are no longer available - so you only need to download 2 images per version (phone/tablet). To get Google Apps in Genymotion there is a solution posted on XDA.

    Update for Genymotion v2.8+: The downloaded images are located at:

    \Users\{username}\AppData\Local\Genymobile\Genymotion\ova
    
    0 讨论(0)
  • 2020-12-12 11:40

    That solution may be more complicated but it works for all platforms.

    Genymotion utilizes VirtualBox interface and provides OpenGL one to the virtual Android devices.

    So in case you would like to copy configured Genymotion virtual device to another host you just need to:

    • stop the device
    • run Oracle VM VirtualBox Manager (or VirtualBox.app on Mac OS X)
    • start export wizard from File menu

    Please note network adapter list for the VBox from VirtualBox Manager. You may need to add similar adapters to your VBox copy at a new host box. At least I had to do that when I copied a VBox from Windows to Linux.

    Obviously, the new host must have Genymotion and VirtualBox installed. I would also recommend to use the same versions of the software to avoid possible incompatibilities.

    To deploy the VBox copy to the new host

    • run Oracle VM VirtualBox Manager (or VirtualBox.app on Mac OS X)
    • start import wizard from File menu
    • run Genymotion and the VBox from it

    If you don't see the copied VBox at Genymotion app try start Genymotion device with shell command.

    0 讨论(0)
  • 2020-12-12 11:41

    1) Download ova file(ex: http://dl.genymotion.com/dists/4.4.4/ova/genymotion_vbox86p_4.4.4_160825_200758.ova)

    2) Go to Genymobile folder(see Genymobile folder path)

    3) Open Genymobile/GenyMotion/ova

    4) Copy downloaded file in it.

    5) Then run GenyMotion , Log in and select the correct version that you downloaded(as given is Android Kitkat 4.4.4).

    6) It will automatically detect ova and start installing.Good luck.


    Genymobile folder path:

    Windows Vista/7/8: C:\Users\USER\AppData\Local\Genymobile

    Windows XP: C:\Documents and Settings\USER\Local settings\Application Data\Genymobile

    Linux: /home/USER/.Genymobile

    Mac: /Users/USER/.Genymobile

    Source

    0 讨论(0)
提交回复
热议问题