简体   繁体   中英

DNS Problem with Android Emulator

I cannot use the browser and internet connection in my android app with android simulator.

When I try to open a homepage using the native webbrowser in the emulator, but when I use the ip address, it opens just fine.

How can I fix DNS problems in the android Emulator.

I already turned off the Windows Firewall, but it didn't work.

Data: Windows 7 x64 / Eclipse Plugin for Android / Android version 2.1

Do you have multiple NICs on your machine? The emulator might be trying to use a DNS that it cannot access (ie going through the wired DNS server if wired is disconnected). You can check which DNS server is being used by starting the emulator with the -debug-slirp flag.

See here for more info.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM