mac machine usb plugged into huawei mobile phone can not debug

Use MACOS to find that when the Android development environment is complete, the mobile phone connected to Xiaomi, SAMSUNG, HTC, ZTE can be automatically recognized. If it is not recognized temporarily, it can be recognized only after setting in adb_usb.ini, and can be recognized in DDMS Check LOGCAT in , only Huawei's mobile phone is not recognized. USB development and debugging is also set, but it can be recognized under Windows, why? Don't worry, there is an engineering mode:

Enter in the dialing interface:

 

1

*#*#2846579#*#*

Find->"ProjectMenu"->"Background Settings"->"USB Port Settings" Change to "GOOGLE Mode".

Note that the phone prompts to restart at this time, but do not restart. After restarting, it will return to normal mode.

If it is still not recognized, switch to other modes, switch repeatedly, and finally set to "GOOGLE mode", or re-plug the data cable, you can recognize it

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325479416&siteId=291194637