How to use emulator on mac ios by pass proxy

broken image

When running on a WiFi network, select Settings / Network & Internet / Wi-Fi, then choose the specific network connection and click the pencil icon to edit it, then provide proxy details: For Android emulators, the MacBook IP address is always the special value 10.0.2.2.įor a real device I use the Charles menu item Help / Local IP Address to find my Macbook’s IP address, since I usually run on a WiFi network where the IP address is auto assigned: This value will vary depending on whether you are using an emulator or a device connected via USB. We also need to instruct the proxy to decrypt SSL traffic, as covered in our page on SSL Trust Configuration: Run the HTTP Proxy on the Hostįirst configure and run the HTTP proxy on the MacBook host, as described in our earlier write up on HTTPS Debugging: Next we will focus on viewing HTTPS mobile traffic from emulators and devices on a development MacBook. Previously we enabled an initial Android Setup and ran the Google AppAuth Code Sample.