Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
216 views
in Technique[技术] by (71.8m points)

Flutter- Not detecting a connected device

So I've set up flutter on visual studio code and I am trying to run my app on a connected device but it just wont detect the android device. When I run flutter doctor it also doesn't detect it, I have enabled USB debugging and activated developer mode on my device but it still will not work. I have tried another device to no affect, I've pretty much tried everything and I appear to have come to a standstill with no hope. Any help and advice is much appreciated. The device I am using is Pixel 2 XL

question from:https://stackoverflow.com/questions/66047159/flutter-not-detecting-a-connected-device

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

run adb devices command in your terminal, check if output it's something like:

enter image description here

If I don’t show that the problem is the adb


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...