我运行flutter doctor
并给我2个类别的2个问题。其中之一(我无法在智能手机上安装我的应用程序)是macOS无法识别我的设备:
MacBook-Pro-de-Jesus:~ jesushedo$ flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, v1.12.13+hotfix.5, on Mac OS X 10.14.6 18G103,
locale es-ES)
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
[✓] Xcode - develop for iOS and macOS (Xcode 11.3.1)
[!] Android Studio (version 3.5)
✗ Flutter plugin not installed; this adds Flutter specific functionality.
✗ Dart plugin not installed; this adds Dart specific functionality.
[✓] VS Code (version 1.41.1)
[!] Connected device
! No devices available
! Doctor found issues in 2 categories.
如何使我的设备被识别?
谢谢大家。
答案 0 :(得分:0)
我认为是其驱动程序问题
对于Android 4.2及更高版本,默认情况下隐藏开发人员选项;使用以下步骤:
提示:您可能还希望启用“保持唤醒状态”选项,以防止Android设备在插入USB端口时进入睡眠状态。