- Published on
Android Emulator, custom DNS Server, connect from Windows
- Authors
- Name
- Timothy Blanks
Start Android with custom DNS
emulator @pixel_4_pie_9_0_-_api_28 -dns-server 192.168.x.x
Connect to the emulator running an the Mac
On Windows, open a ssh connection to map the port to the Mac, 'start' will popup a new command window
start ssh -L localhost:15555:127.0.0.1:5555 user@192.168.x.x
Then, tell Windows to connect to the emulator running on the Mac
adb connect localhost:15555
Install and Create Emulators using AVDMANAGER and SDKMANAGER
https://gist.github.com/mrk-han/66ac1a724456cadf1c93f4218c6060ae