Skip to content

Deploying Applications

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

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

From Google Play Store (Open GApps)

Disclaimer

GENYMOBILE SAS assumes no liability whatsoever resulting from the download, install and use of Google Play Services within your virtual devices. You are solely responsible for the use and assume all liability related thereto.
Moreover, GENYMOBILE SAS disclaims any warranties of any kind, either express or implied, including, without limitation, implied warranties of merchantability, or fitness for a particular purpose regarding the compatibility of the Open GApps packages with any version of Genymotion.
In no event shall GENYMOBILE SAS or its affiliates, or their respective officers, directors, employees, or agents be liable with respect to your download or use of the Google Play Services and you release GENYMOBILE SAS from any liability related thereto.
You agree to defend, indemnify and hold harmless GENYMOBILE SAS for any claims or costs related to your use or download of the Google Play Services.

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.

Version badge

  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.

Tip

If your application is not available in Google Play Store, or if you get the message This application is not compatible with your device, it usually means that it is only available for ARM.

In that case, please refer to Applications for ARM

Manual method

Danger

Using this method is not recommended since opengapps.org regularly update their package and may introduce unforeseen bugs. This should only be used in case the Automatic method fails.

First, download the appropriate open GAPPs package:

  1. Go to https://opengapps.org/
  2. Select platform x86_64, or arm64 if you are using an arm64 instance type
  3. Select the Android version of your instance
  4. Select variant pico
  5. Click on the download icon to download the Open GApps flashable archive

The archive should be named open_gapps-x86_64-X.X-pico-XXXXXXXX.zip or open_gapps-arm64-X.X-pico-XXXXXXXX.zip.

Then, use one of the following method to install the package:

Drag'n drop the open_gapps-x86_64-X.X-pico-XXXXXXXX.zip or open_gapps-arm64-X.X-pico-XXXXXXXX.zip archive to the instance display and reboot when flashing is complete:

  1. Open the File upload widget
  2. Click BROWSE and browse to the open_gapps-x86_64-X.X-pico-XXXXXXXX.zip or open_gapps-arm64-X.X-pico-XXXXXXXX.zip you downloaded
  3. Click OK
  4. After flashing is complete, reboot the instance
  1. Setup and connect your instance to ADB
  2. Upload the zip archive to the instance:

    adb push open_gapps-XXXXX-X.X-pico-XXXXXXXX.zip /sdcard/Download/opengapps.zip
    
  3. Flash the zip archive:

    adb shell "/system/bin/flash-archive.sh /sdcard/Download/opengapps.zip"
    
  4. When flashing is complete, reboot the instance:

    adb reboot
    
  1. Configure SSH
  2. Upload the zip archive to the instance:

    scp -i key.pem open_gapps-XXXXX-X.X-pico-XXXXXXXX.zip [email protected]{your_instance_ip}:/sdcard/Download/opengapps.zip
    
  3. Flash the zip archive:

    ssh -i key.pem [email protected]{your_instance_ip} 'su -c "/system/bin/flash-archive.sh /sdcard/Download/opengapps.zip"'
    
  4. When flashing is complete, reboot the instance:

    ssh -i key.pem [email protected]{your_instance_ip} 'reboot'
    

Applications for ARM/ARM64

Version badge

We now offer Genymotion Device (PaaS) images which run on ARM64 virtual machines on AWS and Oracle Cloud! These images can run applications for arm, arm64 and aarch64 "out of the box".

For more details, please refer to these sections:

The current Genymotion Device (PaaS) images run on x86_64 virtual machines on GCP, Alibaba and MS Azure. This architecture only support applications for x86 and x86_64 natively - you need to flash ARM translation tools to install and run applications for ARMv7.

Warning

  • For Intellectual Property reasons, we cannot distribute any ARM translation tools.
  • Using ARM translation tools with Genymotion Device Image (PaaS) is not officially supported - we cannot guarantee Genymotion operations nor provide technical support in this case. Do it at your own risks!
  • ARM translation tools do not work with applications for arm-v8/arm64/aarch64.
  • There no known ARM translation tools for Android 10 and above.

The ARM translation tool must match your virtual device Android version. The easiest method to install the tools is to use the Drag'n Drop feature:

  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:

Command line method with ADB or SSH
  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
    
  1. Configure SSH and upload the ARM translation tools to the instance:

    scp -i key.pem Genymotion-ARM-Translation_for_X.X.zip [email protected]{your_instance_ip}:/sdcard/Download/
    
  2. Flash the ARM translation tools

    ssh -i key.pem [email protected]{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 [email protected]{your_instance_ip} 'reboot'
    

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

Or you can use the command line command:

adb shell getprop ro.product.cpu.abilist
ssh -i key.pem [email protected]{your_instance_ip} 'getprop ro.product.cpu.abilist'

If successful, it should return x86_64,x86,armeabi-v7a,armeabi.

Back to top