Android Studio 未检测到我的 USB 设备 - ubuntu

Android Studio not detected my usb device - ubuntu

Android 设备在 Ubuntu 上从 2.1.4 更新到 2.2.3 后未在 android studio 中检测到,之前它工作正常。即使我尝试使用以前的版本仍然无法检测到。 我已经启用了 USB 调试。我也尝试过 MTP 和 PTP,但对我没有用。

android 设备已连接到计算机

bhanuchand@bhanuchand-X550CC:~$ lsusb
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 04f2:b40a Chicony Electronics Co., Ltd 
Bus 001 Device 006: ID 13d3:3362 IMC Networks Atheros AR3012 Bluetooth 4.0 Adapter
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 011: ID 2717:1218  
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

总线003是我的设备redmi 1s,没有任何描述

adb 设备

bhanuchand@bhanuchand-X550CC:~$ adb devices
List of devices attached
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
976fc0d9    device

它什么也没显示 enter image description here

PS:对不起我的英语

此命令是安装主流设备驱动,找不到驱动也可以在/etc/udev/rules.d/51-android.rules

中手动添加

$ wget -S -O - http://source.android.com/source/51-android.rules | sed "s/<username>/$USER/" | sudo tee >/dev/null /etc/udev/rules.d/51-android.rules; sudo udevadm control --reload-rules

在Ubuntu上安装设备驱动程序并重新启动系统.. 确保你 select MTP selected

这是因为,我 运行 studio ubuntu 32 位版本。 Android 工作室开发人员停止支持 32 位版本。要让它正常工作,请在 gradle 中将您的构建版本降级到 21 或更低版本并重建项目(如果需要,请下载)。