Thursday, June 13, 2019

Solved: Connect android emulator to the internet - AndroidWiFi

It is really common that you need to use emulator internet connection to access resources over the device connection during the mobile application development. But you may have faced an issue that device is not getting successful connection or use your PC/Laptop connection. So, in this article I'm going to show few steps to establish successful connection.

How can I connect my Android emulator to the internet, e.g. to use the browser?
 This is a common question you can see if you google. So let's digging to the solutions. 

1st Solution 

You may check for basic network connection issues like 
  • Allow apps through the Windows firewall(eg; Android Studio)
  • Disable the unused Network adapter
  • Disable third-party antivirus temporary.
  • Disable Proxy or VPN. 
  • Re-Install Android Studio and create new emulators. 

2nd Solution

Assuming your are on a wireless network and you have a LAN card installed. If so the issue could be that emulator tries to obtain its DNS settings from LAN settings but not via WiFi configurations. You can try few things:
  • Disable LAN adapter and all the other unused network adapters.
  • Connect to the WiFi connection in your Laptop and reboot the Android Emulator.
3rd Solution
Try to re-order the priority of the network connection to WiFi if you are not using LAN.

4th Solution

  • Go to the adapter settings 
  • Properties of IPv4
  • Change the DNS settings as shown below image.

16 comments:


  1. Hi, Amazing you know this article is helping for me and everyone and thanks for sharing information.
    WiFi Speed Test

    ReplyDelete


  2. Hello, Good Article you know your article it's useful me and Thanks for Sharing Information.
    Internet Speed Test

    ReplyDelete


  3. Hi, Amazing your article you know I'm too lazy to sign up an account just for comment your article. it's really good and helping dude. thanks!
    Internet Speed Test

    ReplyDelete
  4. This is the type of information I’ve long been trying to find. Thank you for writing this information. das

    ReplyDelete
  5. Comway offers value for money starter wifi plans in Noida for all your streaming and downloading requirements. Your wait is officially over. Now enjoy fibre optic network of effectively boundless capacity that are flexible enough to bend according to your necessities. Contact Us: +91 9711443333

    ReplyDelete
  6. With Comway, you can enjoy lightning-fast internet broadband speeds and super-fast internet service in Noida . Whether you're streaming movies, downloading files, or simply browsing the web, Comway has you covered. Our experienced customer support team is available 24/7 to help you with anything you requirement. Contact Us: +91 9711443333

    ReplyDelete
  7. CMOLDS is a premier mobile app development company in Dubai, offering tailored solutions that redefine user experiences and drive business growth. With expertise in the latest technologies and a focus on client satisfaction, CMOLDS delivers top-notch mobile app solutions crafted to perfection.

    ReplyDelete