【adb】Successfully solve the problem that adb cannot obtain the device id of OPPO mobile phone

Phenomenon:

  • Connect the phone with the usb cable, pop up options: transfer files or charge
  • Select transfer file
  • Enter adb devices on the command line and the result does not return the connected device id, the screenshot is as follows
    insert image description here
    Solution:
  • Turn on the developer of the mobile phone to debug. Different mobile phones have different opening methods, please Baidu by yourself.
  • Mine is an oppo phone, click on the version number information 7 times in a row to reveal the developer options
  • Turn on usb debugging from developer options
  • Then enter adb devices, the device id is successfully returned, the screenshot is as follows
    insert image description here

Guess you like

Origin blog.csdn.net/keira674/article/details/126573043