Skip to content

Instantly share code, notes, and snippets.

@d4vidi
Last active September 2, 2021 14:36
Show Gist options
  • Save d4vidi/ce75eabc503fd0cd26ff7687f021c612 to your computer and use it in GitHub Desktop.
Save d4vidi/ce75eabc503fd0cd26ff7687f021c612 to your computer and use it in GitHub Desktop.
Android CI Blog: Emulator launch 2/3
# Enable on-screen indicators of taps, swipes and scroll actions.
./platform-tools/adb shell settings put system show_touches 1
./platform-tools/adb shell settings put system pointer_location 1
# (*OPTIONAL for Detox users*) Restart adb in root mode (i.e. allow root access to the emulator).
# Detox may need this in order to be able to install apps on the emulator in a way more
# stable than using "adb install path/to/app.apk".
# If you wish to use Detox and avoid that nevertheless, apply the "--force-adb-install" argument
# to your "detox test" commands.
# See https://github.com/wix/Detox/blob/master/docs/APIRef.DetoxCLI.md#test for more info.
./platform-tools/adb root
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment