Mac Android Real Machine Debug

Source: Internet
Author: User

1. Androidstudio or eclipse is already installed

2. Download and configure the Android SDK

3. Connect your Android phone to your Mac via the USB cable and open the terminal input System_profiler Spusbdatatype

4. Locate the product ID of the corresponding device and copy it

5. Terminal Input VI ~/.android/adb_usb.ini, enter VI

6. Enter I into VI edit, paste the product ID into it, then press ESC and press shift+: then enter Wq save, if you do not need to save the input!q

The above step is to edit and save the exit action.

7. Open the Android phone's developer mode and USB debugging, reseat the USB

8. Open Androidstudio to run a normal project

OK, complete, if you want to test with another phone, repeat the steps above to add the product Id



A man drove to the says he
Links: https://www.jianshu.com/p/956a34daff98
Source: Pinterest
Copyright belongs to the author. Commercial reprint please contact the author for authorization, non-commercial reprint please specify the source.

Mac Android 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.