1. 模拟器代理上网:
# sqlite3 /data/data/com.android.providers.settings/databases/settings.db "delete from system where _id=99"
# sqlite3 /data/data/com.android.providers.settings/databases/settings.db "INSERT INTO system VALUES(99,'http_proxy','172.18.101.204:8080')"
# sqlite3 /data/data/com.android.providers.settings/databases/settings.db "select * from system"
2. 启动模拟器,然后进入 settings->Wireless controls->Mobile networks->Access Point Names W)
然后打开出现在列表中的access point;
然后下面这样设置:
- Proxy : your proxy address
- Port : your proxy port
- Username : your username if needed, or <Not set>
- Password : your password if needed, or <Not set>