Last active
June 26, 2025 05:45
-
-
Save arnoldc/21aca172dd252a9e66451339d75a4f72 to your computer and use it in GitHub Desktop.
[Android] Running Emulator with certain DNS server
This file contains hidden or 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
| # list all avds | |
| emulator -list-avds | |
| emulator -avd Pixel_6_API_35 | |
| # 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 | |
| # SHAKE | |
| adb shell input keyevent 82 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment