mac 下 android 真機調試



1.傳文件
https://www.android.com/filetransfer/#tips
https://dl.google.com/dl/androidjumper/mtp/502266/androidfiletransfer.dmg

2.adb

system_profiler SPUSBDataType


USB 3.0 Hi-Speed Bus:

      Host Controller Location: Built-in USB
      Host Controller Driver: AppleUSBXHCI
      PCI Device ID: 0x9c31
      PCI Revision ID: 0x0004
      PCI Vendor ID: 0x8086
      Bus Number: 0x0a

        Android:

          Product ID: 0xff68
          Vendor ID: 0x2717
          Version: ff.ff
          Serial Number: 3a202fb
          Speed: Up to 480 Mb/sec
          Manufacturer: Android
          Location ID: 0x14100000 / 22
          Current Available (mA): 500
          Current Required (mA): 500
          Capacity: 13.1 MB (13,138,272 bytes)
          Removable Media: Yes
          Detachable Drive: Yes
          BSD Name: disk4
          Partition Map Type: Unknown
          S.M.A.R.T. status: Not Supported

vim  ~/.android/adb_usb.ini

添加其中的 vendor ID: 
0x2717

重啓finder :鼠標單擊窗口左上角的蘋果標誌-->強制退出-->Finder-->重新啓動
重啓eclipse。

/Users/xx/Library/Android/sdk/platform-tools/adb kill-server
/Users/xx/Library/Android/sdk/platform-tools/adb start-server
/Users/xx/Library/Android/sdk/platform-tools/adb devices

多試幾次。

。。。


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章