Run emulator android studio mac terminal

broken image

WiFi symbol now look like this: WiFi symbol connected) After reboot with laptop WiFi disabled the emulator showed proper WiFi connection (emulator still shows AndroidWifi but is connected to my laptop internet.Did a cold boot on the emulator (AVD Manager -> on emulator actions -> Cold Boot Now).I read about it being caused by LAN card and WiFi being enabled, and some approaches seemed complicated to me, so I simply tried this, and it worked: While this works most of the time, there might also be other reasons which may not fix from this solution. Restart the emulator, and it should solve:Įdit: This is the fix for a situation when the emulator's wifi has changed the DNS to some non-working DNS. Note: For Mac users, if the entries field is disabled and you're not able to edit it, click on the 'Lock' icon in the bottom area of that window and enter the password to be able to make changes > DNSĭelete whatever entries you have there and add these two entries (Screenshot below): 8.8.8.8 Set the Preferred and Alternate DNS servers as (Screenshot below) : 8.8.8.8 Double Click on Internet Protocol Version 4 (TCP/IPv4).Open Network and Sharing Center and click on current Connection.Stated below are the solutions for Windows and Mac, but similar solutions will work on any OS: