

If you are using Android Studio above or equal to 4.1.2 this Android emulator wifi not connected issue can happen. We need to do some configuration changes to the emulator settings.

Change DNS settings on the emulatorįor this fix also it doesn’t matter if you are using Mac or Windows PC. This is a simple way can do to enable wifi in emulator Android. You will able to see that the Android emulator wifi is connected successfully. Then after rebooting with the laptop WiFi was disabled the emulator’s wifi is connected with no internet. given below is a reference image to that. On Each emulator there you can see 3 dots vertically aligned and click on that. Go to the emulator that you want to launch. So here you need to navigate to the Virtual device manager to do that. If you have this issue your emulator looks like this.Ĭold boot Android emulator to fix Android emulator wifi connected with no internet Step 1ĭisable Wifi from your laptop or PC. So there are two methods to get this Android emulator wifi connected with no internet issue fixed. Today I am going to explain how we can fix the Android Emulator Wifi not working issue. So I have found two main solutions for this issue. Once again, all requests should go against the localhost server running on your computer.How to fix an Android emulator wifi connected with no internet? So I am a React Native developer and when I am going to run my Android application I have noticed that the emulator’s wifi is connected with no internet even if there is wifi in my physical device(Laptop). Change the API request endpoint to your computer's local IP address, e.g. However, this solution requires you to be on the same Wi-Fi network. Case 2: You Are Using a DeviceĪ different approach is necessary when you want to avoid using the emulator. One last tip: if you use GenyMotion as your emulator, use as the localhost rerouting address. If you are on the train and have no Internet connection, you can use this approach to develop your app anyway. Obviously, the use of this method is not limited to debugging. In my case, this quickly resolved my issue. This should enable you to catch the incoming request on the localhost server.

Run the Android app on the emulator and cause the requests you want to debug. This reroutes the requests from your emulator to your computer’s localhost.

Next, change the API endpoints in your Android code to. Start your server at localhost and attach the debugger. So start up your emulator (since it could take a while until it is ready). The bad news first: this solution only work with the emulator and not with your actual devices.
