Flutter无法识别android设备

时间:2020-03-26 14:39:58

标签: android linux flutter

我有一个Android手机,我正在尝试在此手机上安装Flutter应用程序。由于某种原因,我不知道,Flutter和IDE(IntelliJ或Android Studio)都无法识别连接的设备。我已经完成了所有基本步骤,并尝试了其他找到的解决方案,例如:

JAVA_HOME is configured as well, ANDROID_HOME
Configure android-sdk on the flutter (flutter config --android-sdk /path/to/android/sdk)

其他相关内容:

flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel master, v1.16.3-pre.7, on Linux, locale en_US.UTF-8)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
[✓] Chrome - develop for the web
[✓] Android Studio (version 3.6)
[✓] IntelliJ IDEA Community Edition (version 2019.3)
[✓] VS Code (version 1.43.1)
[✓] Connected device (2 available)

flutter devices
2 connected devices:

Chrome     • chrome     • web-javascript • Google Chrome 79.0.3945.130
Web Server • web-server • web-javascript • Flutter Tools
**I expected my android device here**

cat /etc/linuxmint/info 
RELEASE=19.3
CODENAME=tricia
EDITION="Cinnamon"
DESCRIPTION="Linux Mint 19.3 Tricia"
DESKTOP=Gnome
TOOLKIT=GTK
NEW_FEATURES_URL=https://www.linuxmint.com/rel_tricia_cinnamon_whatsnew.php
RELEASE_NOTES_URL=https://www.linuxmint.com/rel_tricia_cinnamon.php
USER_GUIDE_URL=https://www.linuxmint.com/documentation.php
GRUB_TITLE=Linux Mint 19.3 Cinnamon

IntelliJ IDEA:

enter image description here

我做错了什么?感谢您的帮助!

1 个答案:

答案 0 :(得分:2)

检查:

  1. 您已安装了用于设备的USB驱动程序。
  2. 您已在手机的开发人员设置中启用了 USB调试
相关问题