Proxy which requires authentication with Android Emulator

前端 未结 16 1412
北海茫月
北海茫月 2020-11-30 03:07

Has anybody managed to get the Android Emulator working behind a proxy which requires authentication?

I\'ve tried setting the -http-proxy argument to



        
16条回答
  •  遥遥无期
    2020-11-30 03:36

    I remember having the same problem - After searching on the web, I found this solution - From the command line,

    1. > adb shell
    2. # sqlite3 /data/data/com.android.providers.settings/databases/settings.db
    3. sqlite> INSERT INTO system VALUES(99,’http_proxy', 'proxy:port');
    4. sqlite>.exit
    

    EDIT: Edited answer to reflect the latest version of Android.

提交回复
热议问题