简体   繁体   中英

flutter doctor: No devices available

I have my device connected, but flutter cannot detect it. My developer options are on and USB debugging is also on .

  • My android version is 6.0.1

Just so you know, I haven't installed the android SDK on my machine. Could that be the reason why it isn't detected?

  • I'm on Ubuntu 18.04 LTS

when I run flutter doctor it says no available devices

Did you install android platform tools??

Try sudo apt install android-tools-adb

Then try adb devices to check if your device is listed

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM