我的 Android Studio 找不到我连接的设备。 (没有设计),在我的例子中,我正在尝试使用 Flutter 运行应用程序(但关键是如何识别我连接的设备)。我已经在我的手机中启用了“开发者模式”。
当我尝试运行时
Error = No connected devices found; please connect a device, or see flutter.io/setup for getting started instructions.
我尝试使用虚拟设备,但没有用(我已经尝试了3个虚拟设备)
Error = PANIC: Missing emulator engine program for 'x86' CPU.
因为我的 Ubuntu 看不到我的智能手机,我尝试挂载我的 USB 设备,但这是不可能的。
我该如何解决这个问题?
环境细节
我正在使用以下 Ubuntu 版本
没有可用的 LSB 模块。 经销商 ID:Ubuntu 描述:Ubuntu 17.10 发布:17.10 代号:巧
With Android Studio:
Android Studio 3.1
Build #AI-173.4670197, built on March 21, 2018
JRE: 1.8.0_152-release-1024-b01 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Linux 4.13.0-37-generic
And My smart phone is:
Lenovo A2016b30 with Android 6.0
最佳答案
在您的手机上,检查您是否启用了“USB 调试”的开发者选项。
此外,您的模拟器似乎缺少 SDK 平台工具,请在 SDK 管理器中检查您是否为模拟器的 API 级别安装了包。
关于android - 我的 Android Studio 无法识别我的智能手机,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49675211/