Proxy which requires authentication with Android Emulator

前端 未结 16 1438
北海茫月
北海茫月 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条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-11-30 03:40

    Using Android SDK 1.5 emulator with proxy in Eclipse 3.45

    Go to Package Explorer -> Right click your Android project ->Run As->Run Configurations.

    Under Android Application on the left column, select your project -> on the right column, where you see Android | Target | Common tabs ->

    Select Target -> on the bottom “Additional Emulator Command Line Options”->

    -http-proxy http://www.gateProxy.com:1080 -debug-proxy http://www.gateProxy.com:1080

    ->Run/Close.

提交回复
热议问题