In this case, you don't need to set DNS server in System Preferences. It uses innovative app Cloud Computing for the purpose of working like a connection for mobile and desktop. In one word Bluestacks 5, it is one of the best Android emulators for Windows and Mac to run Android apps and games for free.
Now, you can start AVD from Android Studio normally Bluestacks 5 is the most powerful emulator ever, faster than its counterpart, Bluestacks 4. Users//Library/Android/sdk/emulator/emulator_original -dns-server 8.8.8.8 Change the script permissions with chmod +x emulator Create a bash script named emulator that contains:.Open the App Player, click on the top left corner of your screen Click on ‘Check for Updates’ To update to BlueStacks 5, simply download it from this page or visit. Rename the binary emulator to emulator_original In case you are using a Mac, do the following.In your Android SDK default folder /Users//Library/Android/sdk/emulator/emulator
Then restart the emulator so the changes take effect.Īnother option is to pass dns-server params when start Android emulator.Īccording with this solution, I changed the emulator executable name and I created a bash script to load the AVD with param -dns-server 8.8.8.8. System Preferences -> Network -> select Wi-Fi os left panel -> Advanced on right panel -> DNS -> add new DNS server for example 8.8.8.8 and 8.8.4.4 ( Google Public DNS) or 1.1.1.1 and 1.0.0.1 ( Cloudflare and APNIC DNS) or another public DNS provider.