A solution that Meizu can't be found in Android studio under Ubuntu

Source: Internet
Author: User

In Ubuntu open As,device chooser inside can not find anything, check the data line and mobile phone no problem after the problem positioning in the Meizu mobile phone and Ubuntu system between the adaptation, many online adaptation of Ubuntu and Android methods are not successful, After turning the phone into a built-in disc mode, find the hint, the red part is what we want to do.
1. Create or modify the file ~/.android/adb_usb.ini, add a line at the beginning or end of the file, and the content is 0x2a45.

=========

Sudo-s

Gedit ~/.android/adb_usb.ini

Then write 0x2a45



2. Create or modify a file/etc/udev/rules.d/51-android.rules

==============

Gedit/etc/udev/rules.d/51-android.rules
2.1 Modifying file permissions:
sudo chmod a+rx/etc/udev/rules.d/51-android.rules

2.2 Add a line to the file:
subsystem== "USB", attr{idvendor}== "2a45", mode= "0666", group= "Plugdev "

4. Make sure you "Plugdev" in the user group(this prompts me already exists)
sudo adduser Plugdev

5. Restart the Udev service or restart the PC directly by following the process
sudo service udev restart

6. Check if the ADB device exists
ADB kill-server
ADB devices

Then open as to see the device.

A solution that Meizu can't be found in Android studio under Ubuntu

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.