android模拟器上网dns设置
adb shell
getprop
setprop net.dns1 10.0.0.6
---------------------------------------
上网代理设置
方法一:ls -l /data/data/com.android.providers.settings/databases/settings.db
sqlite3 /data/data/com.android.providers.settings/databases/settings.db
INSERT INTO system VALUES(99,'http_proxy', '10.0.0.108:8080');
SELECT * FROM system;
重启
方法二:
settings->Wireless controls->Mobile networks->Access Point Names