zoukankan      html  css  js  c++  java
  • adb devices 偵測不到 手機

    Environment

    Ubuntu 14.04.5 LTS (Trusty Tahr)

    現象

    system 有偵測到 mobile phone,

    xxx@xxx-ThinkPad-T460p:~/.android$ lsusb
    Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    Bus 001 Device 004: ID 5986:0708 Acer, Inc 
    Bus 001 Device 003: ID 8087:0a2b Intel Corp. 
    Bus 001 Device 002: ID 138a:0090 Validity Sensors, Inc. 
    Bus 001 Device 008: ID 0e8d:200a MediaTek Inc. 
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

    adb devices 沒有偵測到 mobile phone

    xxx@xxx-ThinkPad-T460p:~/.android$ adb devices
    List of devices attached 

    adb shell 顯示 device not found

    xxx@xxx-ThinkPad-T460p:~/.android$ adb shell
    error: device not found

    solution

    create adb_usb.ini then add VID to it

    xxx@xxx-ThinkPad-T460p:~/.android$ echo "0x0e8d" > ~/.android/adb_usb.ini

    restart ADB

    xxx@xxx-ThinkPad-T460p:~/.android$ adb kill-server
    xxx@xxx-ThinkPad-T460p:~/.android$ adb start-server

    xxx@xxx-ThinkPad-T460p:~/.android$ adb devices
    List of devices attached 
    0123456789ABCDEF    device
  • 相关阅读:
    python wmi模块 获取windows内部信息
    Django +uwsgi+python3+nginx + mysql 部署
    POJ 1125
    POJ 1129
    POJ 1126
    POJ 1118
    POJ 1102
    POJ 1101
    POJ 1111
    POJ 1088
  • 原文地址:https://www.cnblogs.com/youchihwang/p/6179377.html
Copyright © 2011-2022 走看看