Android emulator not connecting behind proxy even configurated for it



  • I've a android emulator, that is running on a computer that is behind a proxy.

    From computer perspective, http and https internet access works fine, but on Android Emulator, nothing.

    So I tried with "Use Android Studio HTTP proxy settings" and nothing, so I setup a "Manual proxy configuration", and it was accepted:

    enter image description here

    Doing this, I turned this virtual machine, off, and on, but still there is no internet:

    enter image description here

    Anyone here knows what is missing, and what do I need to do more?

    Thanks in advance!

    UPDATE1:

    I've setup also on WIFI settings, and seems to be setup, but still there is no internet:

    enter image description here



  • The host is placed in a network that has a proxy auto config.

    For this case the recepie that worked for me was leaving "Use Android Studio HTTP proxy settings" check, and only config WIFI to use to use auto Proxty config with full path for the pac file like this (in my case was a http with an https it could be needed a certificate):

    http://proxyautoconfig.domain.com/proxy.pac




Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2