(reprint) Android mac Real Machine Debug

Source: Internet
Author: User

1. Need to download Android SDK and Eclipse

2. Terminal input System_profiler Spusbdatatype find MI 2 is your phone USB parameters

MI 2:

Product id:0x9039

Vendor id:0x2717

version:2.28

Serial NUMBER:22DA4DF1

Speed:up to 480 Mb/sec

Manufacturer:xiaomi

Location ID:0XFA140000/6

Current Available (MA): 500

Current Required (MA): 500

capacity:61.5 MB (61,536,256 bytes)

Removable Media:yes

Detachable Drive:yes

BSD Name:disk1

Partition Map Type:unknown

S.M.A.R.T. Status:not Supported

3. Terminal Input VI ~/.android/adb_usb.ini then putVendor ID is saved in this file, (vi inserts need to input I before editing, save and launch press ESC and then shift+: input Wq Save and eject do not save exit to enter!q). 4.In terminal, enter ADB prompt command not found. To add ADB's path to the configuration file, terminal edit ~/.bash_profile file export path=/users/qc/desktop/adt-bundle-mac/ sdk/platform-tools/: $PATH5. (i mi) open developer mode and USB debugging. Then right-click on the project in eclipse to select the need to set in the Debug as–> Debug Configuration, the Target tab changed to Manual, manual selection of debugging equipment. 6. Note If the device is not discovered, try to unplug the USB.

(reprint) Android mac Real Machine Debug

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

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.