1.安装shadowsocks qt5
2.配置好服务器(选择http可以在主机上使用,选择socks5才能在genymotion的虚拟设备中用)
3.这里先选择socks5,暂时还没找到可以主机和虚拟设备同时使用的方法2018-08-22
4.sudo pacman -S polipo (安装polipo)
5.修改配置:
cd /etc/polipo
cp config.sample config
vi config
取消下面两行的注释并修改
socksParentProxy = "localhost:1080"
socksProxyType = socks5
6.启动polipo:
systemctl start polipo
(停止是stop,重启是restart)
7.在虚拟设备里配置代理:
主机名:10.0.3.2,端口:8123
最后本机需要上网的时候需要把ssqt5的配置修改回http,然后重新连接,主机就能上网了