Skip to content

Deploying Applications

In this section, you will find all the available methods to deploy an application.

More and more apps are only available for arm64. We strongly recommend using arm64 images, rather than x86_64, for best compatibility.

With an APK File

To deploy an application from an APK file to a virtual device, you can use one of the following methods:

Drag and Drop the .apk file to the virtual device display. This will install and open the applications automatically:

  1. Open the File upload widget
  2. Click BROWSE and select the APK file to deploy
  3. Click OK

This will install and open the application automatically.

Connect the instance to ADB and run this command:

adb install <application name>.apk

Warning

If you don't use a universal APK, make sure it matches your instance image architecture:

  • x86 or x86_64 for x86_64 images.
  • arm (ARMv7) or arm64 (ARMv8) for arm64 images.

From Google Play Store (Open GApps)

The application you are developing or testing may require an interaction with Google Play Services (e.g.: in-app purchasing, advertising, etc.). If you really need them, you can use the packages provided by Open GApps.

13.0.0

It is now possible to install the Open GApps package using the device content feature:

  1. Go to the Device content panel:

    device content

  2. In the Packages section, click install next to the Open GApps package:

    open gapps package

  3. The Open Gapps package will be automatically downloaded and installed. Reboot the instance when prompted.

  4. Open Google Play Store:

    Google Play Store in Android App Drawer
    Google Play Store in Android App Drawer

8.0.0

  1. From your device display, open the File upload widget
  2. Click INSTALL OPEN GAPPS
  3. Click INSTALL
  4. After the package is installed, reboot your instance.
  5. Once done, you may have to wait a couple of minutes for the Google Apps to update themselves before opening them.
  6. (optional)Open Play Store and sign in.

Most modern Android apps are only available for arm64 now. Make sure to use an arm64 image or you may not be able to install many apps from Google Play Store. See Application for ARM/ARM64.

Applications for ARM/ARM64

More and more Android apps are only available for arm64 now, in accordance with Google requirements. If you use a x86_64 image, you will likely not be able to install many modern apps.

We therefore strongly recommend using one of our arm64 AMIs for best compatibility.

ARM translation tools for x86_64 images (unsupported)

x86_64 images are now considered obsolete. The following information has been left for legacy purposes. Please consider using arm64 images instead.

x86_64 images can only run applications for x86 (32-bit) and x86_64 (64-bit) natively: you need to flash ARM translation tools to install and run applications for ARM (ARMv7).

The ARM translation tool must match your virtual device Android version.

Using ARM translation tools alters the Virtual Device system: we cannot guarantee Genymotion stability nor provide any technical support if you use them. We highly recommend using arm64 images instead. DO IT AT YOUR OWN RISK!

We do not distribute any ARM translation tools.

  1. Drag'n drop the ARM translation tools zip file to the device display, or use the File upload widget.
  2. Once flashed, reboot your instance using the Power Off and Reboot feature:

To verify whether the ARM translation tools are properly install, you can use a third party app, such as Device Info, and verify that the available instruction sets (supported ABIs) are x86_64, x86, armeabi-v7a, armeabi:

Device info

  1. Connect your instance to ADB and upload the ARM translation tools:

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

    adb shell "/system/bin/flash-archive.sh /sdcard/Download/Genymotion-ARM-Translation_for_X.X.zip"
    
  3. When flashing is complete, reboot the instance:

    adb reboot
    
  4. Verify the ARM tools installation:

    $ adb shell getprop ro.product.cpu.abilist
    x86_64,x86,armeabi-v7a,armeabi
    
  1. Configure SSH and upload the ARM translation tools to the instance:

    scp -i key.pem Genymotion-ARM-Translation_for_X.X.zip shell@{your_instance_ip}:/sdcard/Download/
    
  2. Flash the ARM translation tools

    ssh -i key.pem shell@{your_instance_ip} 'su -c "/system/bin/flash-archive.sh /sdcard/Download/Genymotion-ARM-Translation_for_X.X.zip"'
    
  3. When flashing is complete, reboot the instance:

    ssh -i key.pem shell@{your_instance_ip} 'reboot'
    
  4. Verify the ARM tools installation:

    $ ssh -i key.pem shell@{your_instance_ip} 'getprop ro.product.cpu.abilist'
    x86_64,x86,armeabi-v7a,armeabi