How to enable VPN support in Android Emulator

后端 未结 3 1960
無奈伤痛
無奈伤痛 2021-02-10 10:06

I like to use a PPTP VPN in the Android emulator. My VPN provider is Witopia. The settings work on a real phone (HTC Desire).

It does not work, the connection just times

相关标签:
3条回答
  • 2021-02-10 10:41

    yes it is like kernal issue:

    1. No tun.ko module (see http://forum.xda-developers.com/showthread.php?t=630703&page=2)
    2. No support lkm (loadable kernel module) (http://code.google.com/p/get-a-robot-vpnc/issues/detail?id=100)

    So I think you need custom kernel http://code.google.com/p/batterymine/wiki/BuildingInModuleSupport

    Also you will need copy to emulator other modules: slhc.ko, ppp*.ko

    0 讨论(0)
  • 2021-02-10 10:53

    Wipe data of emulator from device manager and restart emulator. I hope this will help.

    0 讨论(0)
  • 2021-02-10 10:59

    I had the same problem with a 2.2 emulator. I switched to a 4.2 emulator and it is working fine through the VPN.

    0 讨论(0)
提交回复
热议问题