This guide will walk you building your first mobile test locally and integrating into CI/CD
ANDROID_HOME
must be set in your shell to your SDK install folder.java --version
is not found, re-open your terminal or ensure
JAVA_HOME/bin
is in your PATH.ANDROID_HOME
environment variable in your shell. This should point to the root of your Android SDK installation.
Typical installation locations are listed below:
/Users/<username>/Library/Android/sdk
C:\\Users\\<username>\\AppData\\Local\\Android\\Sdk
/home/<username>/Android/Sdk
ANDROID_HOME
matches your actual SDK path..bashrc
or .zshrc
) like so:
package.json
file already exists in your project. If you don’t, run npm init
, yarn init
, or pnpm init
to create the file beforehand.
Install the momentic-mobile CLI by running the following command in your terminal:
momentic.config.yaml
file for browser testing, you can
skip this step and reuse the same project.