Issue
i have been trying to run my flutter project on my Pixel 2 Android Emulator (On my Apple Silicon Macbook), and i get the error:
Failed to launch Pixel 2 API 31: Error: Emulator didn't connect within 60 seconds
But at the same time, my android emulator opens up on my Mac, so i think the issue is that the android emulator is not getting connected with VS Code.
The flutter application runs smoothly on both my IOS Stimulator and my physical huawei android phone with no issues at all.
Is this because of the Apple Silicon Chip or any general issue?
If anyone knows the fixture for this, let me know.
Lemme know if you need any further details or if you are not clear about my question.
Thank you very much in advance.
Solution
- Open Android Studio.
- Open
AVD Manager
on the top right ofAndroid Studio
. - Select the actions (for the emulator you are trying to launch) and if the
stop
option is available to be pressed, click thestop
button (What you are trying is, to quit your emulator if it's already running), and if the emulator is already stopped, now click on theWipe Data
. - Now try running project on your emulator. This worked for me.
Reference : Failed to launch emulator: Error: Emulator didn't connect within 60 seconds
Answered By - Shehan Liyanaarachchi
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.