Skip to content

Get started


  • Python 3.8+
  • pip3 20.9+
  • Android SDK


pip3 install [--user] gmsaas


pip3 install [--user] --upgrade gmsaas


If you're working on Apple hardware using Apple Silicon CPU (M1 SoC), you need to install Rosetta. If it is not already the case, this can be done with softwareupdate --install-rosetta. This is mandatory.

Get notified when a new version is out

You can add the RSS feed to you favorite RSS feed reader or to your corporate communication solution (Slack, Microsoft Teams, Discord and so on). There is no other communication than new gmsaas releases.



Two steps are required to use gmsaas properly:

  1. Configure the path to your Android SDK:

    gmsaas config set android-sdk-path <sdk_path>


    <sdk_path> should point to the Android SDK installation directory, similar to the ANDROID_SDK_ROOT or deprecated ANDROID_HOME environment variables.

  2. Authenticate:

    gmsaas auth login <email> [password]


    If the password is not entered, you will get a prompt to type it.

Output format


gmsaas exposes a global --format (text|json|compactjson) option for all commands.

Available formats are:


Plain text output. Default.


JSON-formatted output. While each command has specific data printed, it always contains exit_code information.


Same thing as json format but one-lined.

You can set a default output format to use in configuration with:

gmsaas config set output-format json


Successful command in JSON format

$ gmsaas --format json logzip
    "archive_path": "/home/me/projects/myapp/",
    "exit_code": 0,
    "exit_code_desc": "NO_ERROR"

Error in JSON format

$ gmsaas --format json instances list
    "error": {
        "message": "Error: unable to use the proxy",
        "details": "Failed to establish a new connection: [Errno 113] No route to host"
    "exit_code": 15,
    "exit_code_desc": "REQUEST_ERROR"



If you are behind a corporate proxy, gmsaas may not be able to access the Internet with its default settings.


SOCKS5 proxy is only supported from gmsaas ver. 1.4.0 onwards.

Proxy settings can be configured via gmsaas config command.

gmsaas config set proxy (http[s]|socks5)://host:port

For an authenticated proxy, credentials can be passed in the URL:

gmsaas config set proxy (http[s]|socks5)://user:password@host:port
gmsaas config set proxy http[s]://host:port

For an authenticated proxy, credentials can be passed in the URL:

gmsaas config set proxy http[s]://user:password@host:port

Alternatively, to avoid having the proxy credentials stored in gmsaas configuration file, you can set the credentials using environment variables:

GMSAAS_PROXY_USERNAME: the username used to connect to the proxy
GMSAAS_PROXY_PASSWORD: the password of given user

Bash/Zsh auto-completion

gmsaas supports Bash and Zsh auto-completion. To activate it, you need to inform your shell that completion is available.

For Bash, add this to your .bashrc:

eval "$(_GMSAAS_COMPLETE=source gmsaas)"

For Zsh, add this to your .zshrc:

eval "$(_GMSAAS_COMPLETE=source_zsh gmsaas)"


You must type at least one dash to complete command-line options.

Back to top