Genymotion Cloud PaaS

– Frequently Asked Questions –

 

Installation

How do I install google apps?
Please refer to this tutorial

How do I  install an apk?
Please refer to this tutorial

 

Configuration & CLI access

What port should I open on the firewall of my cloud provider?
– ssh IN TCP 22
– http IN TCP 80
– https IN TCP 443

We use webrtc to create a peer to peer connection. This peer connection uses a dynamic port.

– webrtc IN TCP and UDP 51003-51100

If you use a TURN server as referred on this tutorial, its IP address needs to be authorized.

We do not recommend opening the adb port. The adb connection is neither secured nor authenticated. Instead we recommend creating an ssh tunnel (see adb paragraph). If you do decide to open the adb connection, here is the port

– adb IN TCP 5555

 

What port should I open on the client side?
To be able to access your VM, you need to be able to connect to

– ssh OUT TCP 22
– http OUT TCP 80
– https OUT TCP 443

– webrtc OUT TCP and UDP 51003-51100

If you can’t modify your corporate network to allow those connections, you need to configure a TURN server. Please refer to this tutorial.

If your company is using a proxy, please make sure to allow HTTP CONNECT on any of these ports.

If the proxy is a SOCKv5 proxy, you will also need to allow UDP ASSOCIATE.

 

How to configure a TURN server?

Please refer to this tutorial.

 

My instance is stucked with a boot animation:

It means that your connection isn’t established for several reasons. Please check :
– If your cloud provider firewall rules authorize the connection
– If your client firewall or proxy blocks the connection

Check above to see which ports need to be opened.

 

How do I gain access to my VD via ssh?
Your public key will be retrieved from your cloud provider metadata at the boot time. Use your corresponding private key to get ssh access.

$ ssh -i key.pem [email protected]_ip

If you want to avoid to add -i key.pem at every ssh commands, make sure to have a ssh-agent configured and then add the key with

$ ssh-add key.pem

 

How do I change or disable the basic authentication?
Please refer to this tutorial

 

How do I change the resolution?
Please refer to this tutorial

 

How do I lock my application?
We implemented a kiosk mode. Please refer to this tutorial.

 

Is it possible to use Genymotion JAVA APIs to automate the use of sensors?
Yes. Simply run your instrumentation tests using Genymotion JAVA APIs on connected instances.

 

The stock browser crashes whenever I try to download a file on Android 6 version
This is a known bug and it will be fixed in one of the future releases.

The stock browser does not ask for runtime permission so when trying to download a file it crashes as it does not have the right to use device storage.You need to go to the system settings and allow the browser to access files as a workaround (Settings -> App permissions -> Storage -> Enable browser app).

 

Is it possible to create a new image from an existing one?
Yes. Once you have configured your instance, you can export it to a new image so you can reuse it later.

You can do it from :

– the AWS EC2 Management Console: select the instance and click on Actions -> Image -> Create Image
– AWS APIs: please refer to the documentation.

 

Is there an option to run several emulators on a single machine?
No you cannot run several emulators on the same instance because it is the instance itself that runs Android. Thus to have 2 Android instances, you need to launch 2 Genymotion images.

 

ADB

How do I enable/disable adb?
Please refer to this tutorial

 

Web browser

How do I get access from a web browser?

You can directly connect to the instance with this URL: https://instance_publicIPorDNS

From your cloud provider console, select the instance you want to access. In the description section at the bottom, copy the hostname or public IP and paste it to your web browser.

public-DNS (1)

 

The instance creates a self-signed certificate at the first boot. You must accept it to connect to the instance.  You can also create a trusted SSL certificate that won’t display a warning when accessing the instance.

Please refer to this tutorial on the Product access page

 

I want to connect to my instance with no warnings.

– We provide a docker that uses Let’s encrypt servers to generate a certificate and install it on the instance. Please refer to this tutorial.

– If you already have generated certificates our Github project will help you set them up.

– If you don’t want to use the docker you can also refer to our Github project.

– Remember to disable adb so that third party can’t retrieve your certificates.

 

What web browsers are compatible?

Chrome and Opera

 

How do I disable/enable the toolbar?

Once you are in the device shell:

First, to change the shell ownership from ordinary user to root user, enter

su

And then,

– Disable the toolbar with

/sbin/busybox sed -i -e 's/default/simple/g' /data/www/index.html

– Enable the toolbar with

/sbin/busybox sed -i -e 's/simple/default/g' /data/www/index.html

 

Support & roadmap

What support do you provide?
Please refer to the Support page

 

Do you plan to provide older Android version like KitKat or newer like Android P?
We release every last version of Android as soon as we can, usually a few months after the source code has been publicaly published.
Older versions of Android are on the roadmap for release, however we can’t disclose any ETA.
If you need a specific version of Android, please let us know!

 

Performance

Can I run any application?

Yes however resource intensive 3D games won’t run smoothly unless if you take GRID instance (on AWS).

 

What instance should I run for CI / Web browser interaction / games?

Please refer to this page

 

ABI supported

System support x86 and x86_64 applications

 

Pricing

What is the pricing for Genymotion Cloud (PaaS)?
Please refer to the pricing on AWS marketplace or Google Cloud Platform

x