Message flutter run No connected devices

0 votes

I am trying to create a sample application with Flutter (fresh installation). Android Studio is also installed (fresh installation).

Here is the output of flutter run

flutter run
No connected devices.

The output of flutter doctor:

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel beta, v0.1.5, on Linux, locale en_US.UTF-8)
[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
[✓] Android Studio (version 3.0)
[!] VS Code (version 1.20.1)
[!] Connected devices
! No devices available

! Doctor found issues in 2 categories.

Is there a solution to this problem?

Mar 6, 2023 in Android by Tejashwini
• 780 points
4,338 views

1 answer to this question.

0 votes

It seems that you do not have any device connected to your computer to run the Flutter app. There are a few steps you can follow to resolve this issue:

  1. Connect an Android device to your computer using a USB cable and make sure USB debugging is enabled on your device. You can do this by going to Settings > Developer options > USB debugging and enabling it.

  2. Alternatively, you can use an Android emulator to run your Flutter app. To do this, open Android Studio and go to AVD Manager. Create a new virtual device and select the device you want to use for the emulator.

  3. After connecting a device or starting an emulator, run the command flutter devices to list all the available devices. If you see the connected device or emulator in the list, then you can run the Flutter app using the command flutter run.

  4. If you are still facing issues, try restarting your computer and the device or emulator.

Additionally, you may want to update your VS Code installation and check that it is configured properly for Flutter development. You can find more information about VS Code setup in the Flutter documentation.

To know more, join our Flutter App Development Course today.

answered Mar 9, 2023 by pooja

Related Questions In Android

0 votes
1 answer

How to run code after some delay in Flutter?

You can use the Future.delayed function in ...READ MORE

answered Mar 18, 2023 in Android by vishalini
2,577 views
0 votes
0 answers

Error: No toolchains found in the NDK toolchains folder for ABI with prefix: llvm

I tried to use Gradel (gradlew clean ...READ MORE

Sep 21, 2022 in Android by Edureka
• 13,620 points
429 views
0 votes
0 answers

How to get the device's IMEI/ESN programmatically in android?

I want to use the IMEI to ...READ MORE

Nov 16, 2022 in Android by Edureka
• 12,690 points
1,302 views
0 votes
0 answers

Flutter different theme for Android and iOs

I want to use a different theme ...READ MORE

Nov 23, 2022 in Android by Ashwini
• 5,430 points
655 views
0 votes
1 answer

What is the future of flutter?

Hi@MD, Flutter is a rather new cross-platform framework ...READ MORE

answered Jul 17, 2020 in Others by akhtar
• 38,260 points
1,147 views
0 votes
1 answer

What is Flutter?

Hi@akhtar, Flutter is an app SDK for building ...READ MORE

answered Jul 17, 2020 in Others by MD
• 95,460 points
1,450 views
0 votes
1 answer

How to install Flutter in Windows system?

Hi@akhtar, You can follow the below-given steps to ...READ MORE

answered Jul 17, 2020 in Others by MD
• 95,460 points
1,781 views
0 votes
0 answers

Android Studio AVD - Emulator: Process finished with exit code 1

Nothing appears to load when starting my android ...READ MORE

May 19, 2022 in Others by Kichu
• 19,040 points
1,517 views
0 votes
1 answer

How to run code after some delay in Flutter?

You can use the Future.delayed method to ...READ MORE

answered Mar 10, 2023 in Android by vinayak
907 views
0 votes
1 answer

Flutter, run async function on stream.listen

You can make the listen callback an ...READ MORE

answered Mar 20, 2023 in Android by pooja
1,366 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP