Hi fellow devs,
I’m having a little difficulty with the Android emulator lately. I’m running Mac OS High Sierra, and I’m often connected over a Cisco VPN when I’m developing from home, to access JIRA and git.
The thing is, whenever I’m connected over VPN, my Android emulator cannot connect to the internet. I believe this used to work just fine a while ago.
I’ve googled, SO’d, … but could not find a solution to this issue. All I can do is turn off the VPN and restart the emulator. Anyone with a golden tip for this one?
Edit: I was able to get around my issue. I launched Charles and enabled Proxy > MacOS Proxy. Then, in the Android emulator, set the proxy to 10.0.2.2 and port 8888. Traffic is going through Charles now, which routes it through the VPN. Complicated to set up, but it works!