mac 添加安卓裝置的支援

來源:互聯網
上載者:User

標籤:

1. 把android裝置插到mac電腦上

2. 首先可以看一下之前在該mac電腦上有沒有添加過這個 , 命令 : adb devices     如果顯示出,下面字樣,說明之前添加過了,下面就可以不用再看了。      List of devices attached 

     42f6940daa32bf91device

 3.  添加android裝置第一步: 開啟終端,輸入:system_profiler SPUSBDataType     命令 可以查看串連的usb裝置的資訊 (資訊很多,可以找一下 )            SAMSUNG_Android:

              Product ID: 0x6860
              Vendor ID: 0x04e8  (Samsung Electronics Co., Ltd.)
              Version:  4.00
              Serial Number: 42f6940daa32bf91
              Speed: Up to 480 Mb/sec
              Manufacturer: SAMSUNG
              Location ID: 0x1d110000 / 6
              Current Available (mA): 500
              Current Required (mA): 96  4.輸入: vi ~/.android/adb_usb.ini 命令,在開啟的 adb_usb.ini檔案中添加0x04e8, 然後儲存退出

5.進入android開發環境發現,已經可以找到的三星手機了

  

有時 adb devices不能顯示串連裝置,需要拔掉資料線,多插幾次,並且退出終端,然後重新開啟,再輸入命令就能發現串連的裝置

 

mac 添加安卓裝置的支援

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.