Earlier we have been through how to solve No Connected Devices in flutter. So in this article, we will walk through how to solve the error Emulator Didn’t Connect Within 60 Seconds In Flutter.
How to Solve the Error Emulator Didn’t Connect Within 60 Seconds In Flutter??
We can follow the step as below:
- Open Android Studio
- Tools -> AVD Manager
- Virtual Device -> Actions (Refer Image)
- Click On Stop
- Now Start Emulator
Open up Genymotion and go to the ADB Setting section:
Notice how the default selection is “Use Genymotion Android Tools ”? With this selection, the emulator is not recognized.
You can read about it here – Using Genymotion Emulator with Flutter in VS Code — (Without Android Studio)
In Android Studio, go to Settings, and select HAXM. Then go to Tools, AVD Manager, and click on the play button to start your emulator.
You need to first install android studio. You can follow these steps.
- Choose “Run” in the top menu bar
- Press on “Select Device“
- Select “AVD manager”
- There will be a popup now for creating your virtual device.
Set a user environment variable like the one below
- Name: ANDROID_HOME
- Path: Your android folder path, personally it was D:\Android
- Go to Android Studio –> AVD manager –> Click the green play button to launch this AVD in the emulator.
then VSCode can detect the emulator and it works fine.
But, I think it will need to run AVD manually every time we want to use the emulator.
For Linux User:
- Disable Hardware Acceleration for the Emulator:
- Android Studio -> AVD Manager -> Edit Emulator -> Emulated Performance: Changed from Hardware to Software.
Thank you for reading!!!
So in this article, we have been through how to solve an error emulator that didn’t connect within 60 seconds in flutter.
Keep Learning !!! Keep Fluttering !!!
Do let us know in the comments if you are still confused in flutter!! we are here to help you 🙂
Flutter Agency is our portal Platform dedicated to Flutter Technology and Flutter Developers. The portal is full of cool resources from Flutter like Flutter Widget Guide, Flutter Projects, Code libs and etc.
Flutter Agency is one of the most popular online portals dedicated to Flutter Technology and daily thousands of unique visitors come to this portal to enhance their knowledge of Flutter.