set up proxy for android emulator
c:\Users\lenger\AppData\Local\Android\Sdk\tools>emulator.exe -http-proxy ip:port -avd Nexus_5X_API_23
c:\Users\lenger\AppData\Local\Android\Sdk\tools>bin\avdmanager.bat list avd
Name: Nexus_5X_API_23
Device: Nexus 5X (Google)
Path: C:\Users\lenger\.android\avd\Nexus_5X_API_23.avd
Target: Google APIs (Google Inc.)
Based on: Android 6.0 (Marshmallow) Tag/ABI: google_apis/x86_64
Skin: nexus_5x
Sdcard: 100M
---------
Name: Nexus_5X_API_23_2
Device: Nexus 5X (Google)
Path: C:\Users\lenger\.android\avd\Nexus_5X_API_23_2.avd
Target: Google APIs (Google Inc.)
Based on: Android 6.0 (Marshmallow) Tag/ABI: google_apis/armeabi-v7a
Skin: nexus_5x
Sdcard: 100M
---------
Name: Nexus_5X_API_27_x86
Device: Nexus 5X (Google)
Path: C:\Users\lenger\.android\avd\Nexus_5X_API_27_x86.avd
Target: Google APIs (Google Inc.)
Based on: Android API 27 Tag/ABI: google_apis/x86
Skin: nexus_5x
Sdcard: 800M
Snapshot: no