Millet phone in the mac, terminal terminal does not display system log problem

1. First, open adb_usb.ini file is not created one location is ~ / .android / adb_usb.ini, namely vim ~ / .android / adb_usb.ini

Hidden on the file, use this command, you can open the finder view hidden features in Terminal: defaults write com.apple.finder AppleShowAllFiles -boolean true; killall Finder

Close hidden features: defaults write com.apple.finder AppleShowAllFiles -boolean false; killall Finder

Hide / Show shortcut: CMD + SHIFT +.

2. ~ system_profiler SPUSBDataType view the connection device information, write down the Vendor ID: 0x2717 (my device), and copy it to adb_usb.ini file, save and exit

 

3 shows the results file is: Vendor ID: 0x2717 (I have only one device)

4. adb reboot

adb kill-server

adb start-server

adb devices

The log file you can see it

 

 

Guess you like

Origin www.cnblogs.com/godlove/p/11907469.html