What are the steps to install and set up the gmsaas CLI for Genymotion SaaS?

Last verified against genymotion.com:

1. Create an API token in your Genymotion SaaS portal. 2. Install gmsaas with pip3 install gmsaas. 3. Authenticate with gmsaas auth token <token>. 4. Set your Android SDK path with gmsaas config set android-sdk-path <sdk_path>. 5. Verify the setup with gmsaas doctor.

Details:

  • You need Python 3.10+ and pip3 21.2.3+ installed, and it is recommended to use a virtual Python environment. See the tutorial: How to connect a virtual device to ADB in Genymotion SaaS?
  • To create the token, go to the API section in the Genymotion SaaS portal, click Create, add a description, then copy and save the token.
  • The Android SDK path must be an absolute path. Relative paths like sdktools/ or ./sdktools are not supported.
  • If gmsaas doctor is successful, it should confirm authentication and Android SDK configuration are OK. The setup is also summarized in Automation Features.