Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

2. Use an android emulator without Greenspector tools

...

Info

On macOS, you may have the following warning:

"testrunner" cannot be opened because the developer cannot be verified.

To fix that , you have to click on accept the notification by clicking on Allow anyway in the Apple menu , and then on / System Settings > Privacy & Security > Allow Anyway

Info

On macOS with M1 chip, you may need to install Rosetta first:

/usr/sbin/softwareupdate --install-rosetta --agree-to-license

Info

On macOS with M1 chip, you have to download the android-service executable with arm architecture: https://dl.greenspector.com/emulator/android-service-files-mac-m1.tar.gz

  • Go to your greenspector cache:

    • On Linux and macOS: $HOME/.greenspector

    • On Windows: C:\Users\[username]\.greenspector

  • Replace the android-service and android-service.version files with the downloaded files. You will have to decompress the tar.gz file.

  • You can now run the testrunner with the --no-update option:

    • On Linux and macOS: ./testrunner -jobFile job.yml -config config.yml --no-update

    • On Windows: testrunner -jobFile job.yml -config config.yml --no-update

...