will android emulator access a network using a vpn on the host machine

本小妞迷上赌 提交于 2019-12-06 01:39:16

问题


My Android app uses a web service that can only be accessed from the office network. I would like to debug at home. I can VPN into my office network with ssh on a MAC or putty in windows. Will the Android emulator "automatically" access the office network under VPN or do it requires a specific set-up?


回答1:


It doesn't seem to be working for me automatically, no. I'm emulating Google API Level 9 in Windows 7 64-bit, and I can't access pages in the Android browser that I can access on my host machine when my host machine is on my company VPN. I can access other sites like google.com in the emulator, so it does have network access.



来源:https://stackoverflow.com/questions/3859675/will-android-emulator-access-a-network-using-a-vpn-on-the-host-machine

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!