Android Studio未检测到我的USB设备-Ubuntu [英] Android Studio not detected my usb device - ubuntu

查看:78
本文介绍了Android Studio未检测到我的USB设备-Ubuntu的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Ubuntu上将其从2.1.4更新到2.2.3后,在android studio中未检测到Android设备,以前它可以正常工作.即使我尝试使用以前的版本,仍然无法检测到.我已经启用了USB调试功能.我尝试了MTP和PTP,但对我来说却无济于事.

Android device is not detected in android studio after updating it from 2.1.4 to 2.2.3 on Ubuntu, previously it was working fine. Even I tried with previous version still its not detecting. I have already enabled usb debugging. I tried MTP and PTP too nothing works for me.

android设备已连接到计算机

android device is connected to computer

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,没有任何描述

Bus 003 is my device redmi 1s which doesn't have any description

adb设备

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

它什么也没显示在此处输入图片描述

PS:对不起,我的英语

PS: sorry for my english

推荐答案

这是因为,我正在32位版本的ubuntu上运行studio.Android Studio开发人员已停止支持32位版本.为了使其工作正常,请在 gradle 中将您的构建版本降级到21或更低版本,然后重新构建项目(如果需要,请下载).

It is because, I'm running studio on ubuntu 32-bit version. Android studio Developers stopped supporting 32-bit versions. To get it worked downgrade your build version to 21 or below in gradle and rebuild the project (download if it needed).

这篇关于Android Studio未检测到我的USB设备-Ubuntu的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆