Mac Android Development SDK Configuration and phone connection

Source: Internet
Author: User

This article is suitable for those who are already familiar with Android development;

First install the Mac version of Eclipse

Next is the preparation of the Android SDK;

Since the Android SDK online update is not convenient, so you can choose to copy; Ready for Mac Android SDK Add_ones,build-tools, Extras,platform-tools,tools, These folders are configuration files that cause Mac to be different from Windows, and then copy your own Windows under platforms This is the main file of the Android SDK which is generic.

Then restart Eclipse to point to your SDK folder;

After that you will also encounter a problem, Android phone is not recognized, resulting in debugging can not be done;

The reason is because the Mac phone does not recognize the phone, you can manually tell the Mac

Here's how:

First step: View USB Device Information

In terminal input: System_profiler Spusbdatatype can view information for connected USB devices

MI 4LTE:

Product id:0x0368

Vendor id:0x2717

version:2.32

Serial number:ccee6a3c

Speed:up to 480 Mb/sec

Manufacturer:xiaomi

Location ID:0X14200000/7

Current Available (MA): 500

Current Required (MA): 500

capacity:11.4 MB (11,440,128 bytes)

Removable Media:yes

Detachable Drive:yes

BSD Name:disk2

Partition Map Type:unknown

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

Apple Internal Keyboard/trackpad:

Product id:0x0259

Vendor ID:0X05AC (Apple Inc.)

version:2.24

Speed:up to Mb/sec

Manufacturer:apple INC.

Location ID:0X14500000/8

Current Available (MA): 500

Current Required (MA): 40

Built-in:yes

BRCM20702 Hub:

Product id:0x4500

Vendor id:0x0a5c (Broadcom Corp.)

version:1.00

Speed:up to Mb/sec

Manufacturer:apple INC.

Location ID:0X14300000/2

Current Available (MA): 500

Current Required (MA): 94

Built-in:yes

Bluetooth USB Host Controller:

Product id:0x8289

Vendor ID:0X05AC (Apple Inc.)

version:1.03

Speed:up to Mb/sec

Manufacturer:apple INC.

Location ID:0X14330000/4

Current Available (MA): 500

Current Required (MA): 0

Built-in:yes

Remember Vendor id:0x2717

Step Two: Create and modify the Adb_usb.ini file

Enter: VI ~/.android/adb_usb.ini command, add 0x1782 in open Adb_usb.ini file, then save exit

Note Top row Join

Restart eclipse;

Mac Android Development SDK Configuration and phone connection

Related Article

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.