1. 输入命令:system_profiler SPUSBDataType 可以得到如下:

  Product ID: 0x1052
  Vendor ID: 0x12d1  (Huawei Technologies Co., Ltd.)
  Version: ff.ff
  Serial Number: 80717a61673d
  Speed: Up to 480 Mb/sec
  Manufacturer: Android
  Location ID: 0x1d110000 / 7
  Current Available (mA): 500
  Current Required (mA): 500
  1. 把得到的Vendor ID加入到 ~/.android/adb_usb.ini

  2. 命令行:...


  1. Error: Please install Android target 19 (the Android newest SDK). Make sure you have the latest Android tools installed as well. Run "android" from your command-line to install/update any missing SDKs or tools.

    解决方法: 安装 android 4.4.2 sdk

  2. 安装sdk时出现 ‘Download interrupted: hostname in certificate didn't match: != OR Done. Nothing was installed.’

    解决方法: Android SDK Manager中偏好设置