flutter / flutter

Flutter makes it easy and fast to build beautiful apps for mobile and beyond
https://flutter.dev
BSD 3-Clause "New" or "Revised" License
166.18k stars 27.49k forks source link

Can i run flutter app without installing Virtual Devices ? #53042

Closed aamadmin closed 4 years ago

aamadmin commented 4 years ago

I have some issues installing HAXM installer since its not supported in my present system, can i use physical device to run flutter app ? i have connected my phone with developer option enabled but V S Code is not listing devices to debug me firstapp code. Flutter doctor not showing device.

Can anyone help in this case ?

[flutter] flutter doctor -v [√] Flutter (Channel stable, v1.12.13+hotfix.8, on Microsoft Windows [Version 6.1.7601], locale en-US) • Flutter version 1.12.13+hotfix.8 at C:\scr\flutter • Framework revision 0b8abb4724 (6 weeks ago), 2020-02-11 11:44:36 -0800 • Engine revision e1e6ced81d • Dart version 2.7.0

[√] Android toolchain - develop for Android devices (Android SDK version 29.0.3) • Android SDK at C:\Users\UserName\AppData\Local\Android\sdk • Android NDK location not configured (optional; useful for native profiling support) • Platform android-29, build-tools 29.0.3 • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b03) • All Android licenses accepted.

[√] Android Studio (version 3.5) • Android Studio at C:\Program Files\Android\Android Studio • Flutter plugin version 44.0.1 • Dart plugin version 191.8593 • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b03)

[√] VS Code (version 1.43.1) • VS Code at C:\Users\UserName\AppData\Local\Programs\Microsoft VS Code • Flutter extension version 3.8.1

[!] Connected device ! No devices available

! Doctor found issues in 1 category. exit code 0

Abhishek01039 commented 4 years ago

Just connect your real device.

aamadmin commented 4 years ago

Just connect your real device.

Hi Abhishek, I have connected to physical device and device dont show up.

rawatdev commented 4 years ago

Make sure you turn on the usb debugging on your phone. Then, it will probably work.

aamadmin commented 4 years ago

Hi, Thanks, I have done USB debugging enabled on my device still device not listing in VSCode.

aamadmin commented 4 years ago

This error in virtual device Virual_device

No listed device nodev

Installed SDK Tools sdkTools

rawatdev commented 4 years ago

Also turn on install via USB option. This will help.

aamadmin commented 4 years ago

install via USB option

Yes this is done already..

aamadmin commented 4 years ago

This error shown, it wont debug..

err

rawatdev commented 4 years ago

Now, just unplug and plug usb and also check the usb.🤣

aamadmin commented 4 years ago

Now, just unplug and plug usb and also check the usb.

this i have done several times!

rawatdev commented 4 years ago

Which device do you have?

aamadmin commented 4 years ago

Which device do you have?

Samsung S8

rawatdev commented 4 years ago

Have you set the path of flutter?

aamadmin commented 4 years ago

Have you set the path of flutter?

Yes you can see n flutter doctor reply! all set..

rawatdev commented 4 years ago

Have you tried google usb driver? link: https://developer.android.com/studio/run/win-usb

aamadmin commented 4 years ago

Have you tried google usb driver? link: https://developer.android.com/studio/run/win-usb

Hey Hey Hey!! Thank you so much!!! The issue is Samsung USB Driver is not installed.. ! and now i installed from official website!! you saved my day!! thanks a lot for the alert!!

rawatdev commented 4 years ago

Thank you, its your perseverance.

TahaTesser commented 4 years ago

Hi @aamadmin given your last message I feel safe to close this issue, if you disagree please write in the comments and I will reopen it. Thank you

github-actions[bot] commented 3 years ago

This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.