I'm using windows 10 and android studio 3.0.1. In past, I was able to use internet at my Android emulators but now, I'm not, I saw similar topic in stackoverflow but answers not working for me? what should I do
try this command on windows cmd while replace the path with your own. C:\Users\prashant\AppData\Local\Android\sdk\emulator\emulator.exe -avd Nexus_5X_API_25 -dns-server 8.8.8.8
If this doesn't work try genymotion, it's best. Here
Finally I found the answer
I'm using proxy in my android studio and emulators by default using android studio proxy setting too
I just disabled proxy in emulator and problem solved
you need to enable your internet conection to share with another conected devices, once you do it restart the emulator and you got internet
this works for windows
I had this issue and finally I realized the problem is because of my firewall (Kaspersky).
This problem appeared out of nowhere for me after updating Android Studio to Chipmunk. After a great deal of searching and trying different solutions, I found one on Medium.com that solved it. This is a very similar fix that Prashant posted (setting the DNS server to 8.8.8,8), but it gave a step-by-step solution without using terminal. and included adding 8.8.4.4 as well
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.