Internet using dongle on android emulator

By shaikhmo
In August 18, 2015
694 Views

By default, the internet works perfectly alright on the android emulator, if the system is connected to WiFi or LAN.

 

But when tried using a dongle, it refused to accept the already existing internet on the system.

I got it working by adding the following to emulator command line:-

 

Android Studio:-

Run -> Edit Configuration -> Android Application -> app

Go to Emulator tab on the right hand side and in the additional command line options, add the above line.

The internet connection works perfectly fine after this configuration changes.

Untitled

Or else you can run the emulator with the following parameters

“C:\Program Files (x86)\Android\sdk\tools\emulator.exe” -avd Nexus_10_API_21 -netspeed full -netdelay none -dns-server 8.8.8.8,8.8.4.4

 

Leave A Comment