skip to Main Content

I get troubles connecting my android devices through USB debugging to my MacBook Pro.
ADB partially detect the android devices which is blinking a USB Debugging Popup.

For information : I tried to change USB cables, adaptators, and reset to factory parameters the device, same problem. I tried with another Android phone (Huawei P20 PRO) and everything works perfectly.

So. I got a Mi 11 Lite 5G for developping purposes, here is the specifications :

  • Android Version : 11 RKQ1.201112.002
  • MIUI Version : MIUI Global 12.5.6(RKIEUXM) Stable
  • Developper options : Activated
  • USB Debug : Activated
  • MIUI Optimisation : Desactivated
  • Reset to factory parameters

When connecting through USB Cables to my MacBook Pro and after typing adb devices it start to blink "USB Debugging Popup" (here is a video : https://youtu.be/Jcn3Atfi7tU ). It doesn’t blink if I didn’t run adb devices command. It stopped blinking if I play adb kill-server (however, it restart again once I clicked on the device).

On my MacBook Pro, the command : adb devices gave no devices connected.
Here is the version of ADB :

~ adb version 
Android Debug Bridge version 1.0.41
Version 31.0.3-7562133
Installed as /usr/local/bin/adb

However, on Android Studio 2020.3.1 Patch 4, here is what I got on the connection Assistant, the devices seems to be recognized for a milisecond each time (here is a video : https://www.loom.com/share/f70b27885d884cbdadcc5a7c4b56f7f6 ).

Assuming the USB Cable is OK, Adaptator is OK, Android Studio and ADB are updated, another Android Phone is detected, what is the problem with this Mi 11 Lite 5G which was working like two month ago and doesn’t have been touched since ?

2

Answers


  1. The blinking looks like an improper connection still try to enable the debug options from settings and check if particularly USB debug option is checked on. Also go through the entire options maybe there is some new option related to side loading that MI might have provided.

    Also check if there is some anti virus software on your Mac I have McAfee and it interferes a lot while Android debugging so I have to sometimes turn it off.

    Login or Signup to reply.
  2. Updating to the latest ADB finally fixed the issue for me.

    Also make sure to enable the USB debugging (Security Settings) setting in addition to USB debugging, and Install via USB for Android Studio to work properly with the phone.

    I’m running

    ❯ adb --version
    Android Debug Bridge version 1.0.41
    Version 33.0.0-8141338
    
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search