zoukankan      html  css  js  c++  java
  • ubuntu 不是 识别 android 设备 解决方法

    ubuntu:

    在终端输入lsusb:

    langu@langu:~$ lsusb
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 001 Device 004: ID 5986:0313 Acer, Inc
    Bus 002 Device 002: ID 04f2:1117 Chicony Electronics Co., Ltd
    Bus 003 Device 002: ID 04f2:0408 Chicony Electronics Co., Ltd
    Bus 001 Device 006: ID 12d1:1037 Huawei Technologies Co., Ltd. Ideos
    我的是华为android ID 是12d1

    在home中找到 .android 文件夹  ,并在这个文件中的android.jni中,另起义一行添0x12d1 保存刷新,即可。(我的电脑上是运行模拟器后尝试的)

    或者 在/etc/udev/rules.d 目录的 70-android.rules 文件中添加

    设备类型                             id                        勾选usb调试是1038 不勾选1037    权限                      当前电脑用户名

    SUBSYSTEM=="usb", ATTR{idVendor}=="12d1", ATTR{idProduct}=="1038", MODE="0600", OWNER="langu"

  • 相关阅读:
    access生成sql脚本,通过VBA调用ADOX
    virtualbox 使用USB引导启动安装系统
    atom 调用g++编译cpp文件
    VPython 三维显示 —— hello word
    sql高级篇(一)
    sql基础篇
    struts2中的<s:select>默认选项
    关于SVN更新注意
    mysql中的substr()函数
    mysql中exists的用法介绍
  • 原文地址:https://www.cnblogs.com/keanuyaoo/p/3260723.html
Copyright © 2011-2022 走看看