Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

<Flutter> emulator launched but not detected by android studio

I'm a beginner in Flutter and I've an emulator opened/powered on and android studio doesn't detect it. 1

hence I can't run any program because "no device is running". I've tried installing 'Android emulator' in the SDK tools but android studio still cant detect it.

like image 968
JamesDev Avatar asked Jul 10 '18 13:07

JamesDev


People also ask

Why my phone is not detected by flutter?

Using a USB cable, plug your phone into your computer. If prompted on your device, authorize your computer to access your device. In the terminal, run the Flutter devices command to verify that Flutter recognizes your connected Android device. Start your app by running a Flutter run.

How do I run flutters on Android emulator?

Creating Connection. Choose Device: Open your VS Code and from the bottom right corner of your home screen click on the Flutter Device option. Select Device: When you click on the Flutter Device icon, list of available devices will open up in the command palette. Select the emulator you just created.

Why is my Android Emulator not working?

If the Android Emulator does not start properly, this problem is often caused by problems with HAXM. HAXM issues are often the result of conflicts with other virtualization technologies, incorrect settings, or an out-of-date HAXM driver. Try reinstalling the HAXM driver, using the steps detailed in Installing HAXM.


1 Answers

I had same problem.

CMD: flutter devices
No devices detected.

CMD: device emulators
Device emulator-5554 is offline.

In Android virtual device manager, I cold boot emulator and it started working.

like image 105
bilal Avatar answered Oct 17 '22 03:10

bilal