How to connect meizu MX4 to Eclipse and mx4eclipse

Source: Internet
Author: User

How to connect meizu MX4 to Eclipse and mx4eclipse

There are always various inexplicable problems in the development process. Many applications are scrambling for this adb process, leading to Eclipse failure to connect normally. In the past, the computer was equipped with software such as pea pods, brush genie, app treasure, and 360 mobile assistants. Basically, you had to open these software before opening Eclipse, so that Eclipse could be connected, what a slot is this! Find a good way to add it to favorites!

Android Developers should not laugh. This is indeed a problem unique to meizu mobile phones. Other brands can connect smoothly, but meizu cannot!
Eclipse detects mx4 only after the mobile assistant such as the pea pod or the 360 mobile assistant is opened (in fact, the adb of eclipse is closed by the pea pod and connected by its own driver ).
The solution is to manually add the vendor ID in the "adb_usb.ini" file.
Make sure that your ADB is the latest version.: Http://stackoverflow.com/questions/15305725/i-cant-upgrade-from-adb-version-1-0-29.
Then the windows and mac settings are slightly different:

MAC settings:
1. Enable the debugging mode of the Android phone and connect it to our Mac OS.
2. Choose Mac> Local> More> System Report> usb option. A series of usb-related devices are displayed on the right. Find your Android device and select it.
3. Find the supplier ID or the vendor ID. The vendor ID displayed on my MX4 mobile phone is 0x2a45.

4. Open the Mac terminal and enter echo 0x2a45 >> ~ /. Android/adb_usb.ini
Restart adb (I am restarting the Mac system) and then open eclipse. You will find that the device on the Android phone is displayed. This solution can also solve the problem that other android devices on Mac do not display.

Thanks to meizu's rival Xiaomi forum for providing solutions. Original article: Click to open the link

Win7 settings:
1. Install the adb driver. The simplest method is to use pods or 91 assistants. Once connected, the installation is successful.
2. open "Device Manager", find the mx4 device (Android Composite ADB Interface), right-click Properties, select the "details" tab, and select "hardware ID" for "properties ", there will be two rows of values below,
One of my lines is "USB \ VID_2A45 & PID_0C02 & MI_01"
See VID_XXXX and write down the XXXX value.
3. Find the C: \ Users \ XXX \. android \ adb_usb.ini file (XXX is the user name of your current operating system), and add "0xXXXX" (excluding quotation marks) to the file ).
The preceding 0x indicates a hexadecimal number. Replace XXXX with the value you noted down above.
Restart the computer or exit eclipse, and then kill the "adb" Process in the task manager and re-enter eclipse. You can.

References:
Flyme3.4 unable to connect to the real machine for testing (on Eclipse)
How to connect Eclipse to Android phones on Mac

How does MX4 connect to Eclipse for Android development?

Released on


Collection

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.