Use meizu mx to debug android programs in ubuntu

Source: Internet
Author: User

Http://blog.csdn.net/hhq163/article/details/7320241

1. MX enables usb debugging and connects to ubuntu.
2. Input lsusb in Terminal to obtain:
Bus 002 Device 005: ID 18d1: 0005 Google Inc.
3. Run sudo vim/etc/udev/rules. d/51-android.rules and enter the content.
SUBSYSTEM = "usb", SYSFS {"Meizu Corp." }== "18d1", MODE = "0666"
4. Run the sudo chmod a + r/etc/udev/rules. d/51-android.rules command.
Restart the service sudo/etc/init. d/udev restart (this step is not successful, there is no/etc/init. d/udev file)
5. Run sudo./adb kill-server.
6. Run sudo./adb devices to view the device.
List of devices attached
MX1Cxxxxxxx53 device

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.