Skip to content

Instantly share code, notes, and snippets.

@arnoldc
Last active February 6, 2024 16:21
Show Gist options
  • Save arnoldc/21aca172dd252a9e66451339d75a4f72 to your computer and use it in GitHub Desktop.
Save arnoldc/21aca172dd252a9e66451339d75a4f72 to your computer and use it in GitHub Desktop.
[Android] Running Emulator with certain DNS server
# Settings DNS server for emulator
emulator -avd Pixel_5_API_31 -dns-server 8.8.8.8
# Lock and Unlock
SLEEP = adb shell input keyevent 223
WAKE UP = adb shell input keyevent 224
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment