【问题标题】:Android Studio not detected my usb device - ubuntuAndroid Studio 未检测到我的 USB 设备 - ubuntu
【发布时间】:2016-12-12 07:28:28
【问题描述】:

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

安卓设备已连接到电脑

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

Bus 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:对不起我的英语

【问题讨论】:

标签: android android-studio ubuntu ubuntu-16.04


【解决方案1】:

在 Ubuntu 上安装设备驱动程序并重新启动系统.. 确保您选择 MTP 已选择

【讨论】:

    【解决方案2】:

    这是因为,我在 ubuntu 32 位版本上运行工作室。 Android Studio Developers 停止支持 32 位版本。要使其正常工作,请将 gradle 中的构建版本降级为 21 或更低版本并重新构建项目(如果需要,请下载)。

    【讨论】:

      【解决方案3】:

      这个命令是安装主流设备驱动,找不到驱动也可以在/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

      【讨论】:

      • 请解释你的答案
      • 看,我已经在 android 51 规则中添加了我的设备的供应商 ID,然后它运行良好。现在它在更新到 2.2.3 @cricket_007 后没有检测到
      猜你喜欢
      • 2016-09-03
      • 2023-03-03
      • 2017-07-13
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多