Last active
September 2, 2021 14:36
-
-
Save d4vidi/ce75eabc503fd0cd26ff7687f021c612 to your computer and use it in GitHub Desktop.
Android CI Blog: Emulator launch 2/3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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