Skip to content

Basic Steps

In this section, you will find the basic steps to setup, launch, use and save a virtual device instance.

Start virtual devices

Closing your web browser or logging out will not stop your running virtual devices. They have to be stopped manually or they will keep running until the Frontend inactivity timeout or the maximum run duration are reached.

Warning

  • By default, no timeout happens for virtual devices started with gmsaas. You must specify the --stop-when-inactive option, or they will keep running until manually stopped.
  • Changes are not automatically saved - see save a virtual device.

Quick-start

From the Virtual devices page, click Start button and search for the official or custom recipe you wish to use. A virtual device will be created and automatically launched with the selected recipe:

To see all the recipe properties, navigate to the Recipes page.

From a recipe

  1. Navigate to the Recipes page.
  2. Click on the recipe card you wish to use.

A new device with the selected recipe will be created and launched automatically, and you will be automatically redirected to the Virtual devices page:

Access a virtual device display

From the Virtual devices page, double click on the virtual device or hover the mouse over to it and click :

Stop a virtual device

Closing your web browser or logging out will not stop your running virtual devices. They have to be stopped manually or they will keep running until the Frontend inactivity timeout or the maximum run duration are reached.

To stop a running device, click Stop from the device display left bar menu:

You can also stop it from the Virtual devices page; hover the mouse over to the desired virtual device and click :

If you are an organization manager, you can also stop a running virtual device even if you are not its owner. Select Message owner to notify the device owner.

Save a virtual device

Changes are not automatically saved. As a result, any modification to a virtual device has to be saved manually.

Save as a new custom recipe and custom image

If you started a virtual device from an official recipe, you can save it as a custom recipe and custom image:

  1. From the virtual device display, click Save in the left bar menu.
  2. Give a name to your custom recipe and custom image.
  3. Click CREATE.

The newly created custom recipe can be found in the Recipes page:

New custom recipe

and the new custom image in Recipes > Images:

New custom image

You can also do it from the Virtual devices page page:

  1. Hover the mouse over to the desired virtual device and click
  2. Name your new custom recipe and custom image click CREATE

This will stop the running virtual device and start the saving process. Your recipe will then appear as Saving until the process is complete - this may take a few minutes:

Once finished, your new custom recipe will appear in the the Recipes page, and the new custom image in Recipes > Images.

Update a custom recipe

To save changes of a virtual devices created from a custom recipe, click Save in the left bar menu. You can either save the changes to your current custom recipe, or create a new custom recipe:

You can also do it from the Virtual devices page page:

  1. Hover the mouse over to the desired virtual device and click
  2. Select Update recipe to update the current custom recipe

Your recipe will appear as Saving until the update is complete. This can take a few minutes.

You can also select Create new recipe if you wish to create another custom recipe and custom image.

Deploying an application

Genymotion SaaS virtual devices architectures are x86 and x86_64 - it cannot run applications with ARM code natively. Please refer to Applications with native ARM code for more details.

To deploy an application to a virtual device, you first need to launch a new device from an official or custom recipe. Then, use either one of the following methods to deploy your application:

Access the virtual device display, then drag and drop the application APK into it:

Open the File Upload widget to upload and deploy the APK file into the virtual device.

Google Apps are not installed by default - you need to install the Open GApps package and Google Play Store will be available.

Connect ADB to your virtual device with gmsaas and run the following command to sideload your APK file:

adb install <application.apk>

Installing Open GApps

The application you are developing or testing may require an interaction with Google Play Services (e.g.: in-app purchasing, advertising, etc.). However, for Intellectual Property reasons, Google Apps (Gmail, Drive, Calendar...) and Google Play services are not included in Genymotion virtual devices by default. You need to install the Open GApps package.

We assume no liability whatsoever resulting from the download, install and use of Google Play Services within your virtual devices. USE AT YOUR OWN RISK!

  1. From your running virtual device display, click on the File upload widget and INSTALL OPEN GAPPS.
  2. Click INSTALL
  3. Wait for the package to upload and install.
  4. When done, you will be prompted to reboot the virtual device.
  5. (Optional) Open the Play Store and configure your account.

If an application is not available or cannot be installed from Google Play Store (Your device isn't compatible with this version), it is probably only available for ARM. See below for more details.

Applications for ARM

Genymotion SaaS virtual devices architecture is x86 (32-bit). To deploy applications for ARMv7 (32-bit), you must install an ARM translation tool which matches your virtual device Android version.

Read carefully

  • For legal reasons, we cannot distribute any ARM translation tools.
  • We cannot guarantee Genymotion SaaS (Cloud) operations after installing ARM translation tools. Do it at your own risks!
  • There are no ARM translation tools for Android 10 and above.
  • ARM translation tools cannot interpret applications with arm64/aarch64 code. For more information, please refer to this article: How to run applications for arm64/aarch64 (armv8) with Genymotion?

1. Flash the ARM translation tools

  1. Drag'n drop the ARM translation tools zip file to the device display
  2. Once flashed, reboot your virtual device

  1. Connect your instance to ADB with gmsaas
  2. Upload the ARM translation tools zip file to the device:

    adb push Genymotion-ARM-Translation_for_X.X.zip /sdcard/Download/
    
  3. Flash the tools:

    adb shell "/system/bin/flash-archive.sh /sdcard/Download/Genymotion-ARM-Translation_for_X.x.zip"
    
  4. Once complete, reboot the virtual device:

    adb reboot
    

2. Verification

You can use a third party application, such as Device Info, and verify that the available instruction sets (Supported ABIs) are x86, armeabi-v7a, armeabi:

Device Info

Alternatively, connect your instance to ADB with gmsaas and use the following ADB command:

adb shell getprop ro.product.cpu.abilist

This should return x86,armeabi-v7a,armeabi. If not, the installation has failed.

3. Install your application

Install your APK file using Drag'n drop, File upload or ADB sideloading.

If you wish to use Google Play Store, the ARM translation tools must be installed before the Open GApps package. Otherwise, the application will be unavailable in Play Store.

4. Save your device

Back to top