VS code and Android Studio is recognizing my connected android device. My device is showing up on file explorer though. I have turned on USB debugging from settings too.

Below is the result of flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 2.8.1, on Microsoft Windows [Version 10.0.22000.493], locale en-US)
[√] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
[√] Android Studio (version 4.0)
[√] VS Code (version 1.64.2)
[!] Connected device
! No devices available
! Doctor found issues in 1 category.
What I have tried
https://github.com/Dart-Code/Dart-Code/issues/1634#issuecomment-485071966 https://developer.android.com/studio/run/oem-usb#Win10
After I set up Flutter and got flutter doctor running, I plugged in my Android phone. Neither flutter doctor or VS Code could detect it!
I already turned on Developer Options and USB debugging “File sharing”.
Developer Options > Select USB Configuration > Change it from “File Transfer” (default option) to Charging” The phone will ask if you want to always allow USB debugging from this device.
Say yes.
After that, VS Code was able to detect my Android phone, and I was able to run my app on it!
Please check you follow the proper steps to connect your Device.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With