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