skip to Main Content

device is connecting perfectly on windows but not on mac devices is not asking permission to trust this device and showing offline while running adb devices command my phone is realme 9 pro speed addition,
i have tried on multiple macbook but still not connecting , also tried on diffrent windows laptops connected succesfully on each windows device. tried changing the cable , resarting server, downloaded latest platform-tools..

2

Answers


  1. I had similar issue on Realme Master GT and in my case solution was connecting wirelessly by adb. This feature was announced in android 11.

    • Developer options > Wireless debugging > Pair device with pairing code
    • Take ip, port, pairing code from phone – example: ip:port = 192.168.150.120:37181 pairing_code = 188231
    • Your phone and computer have to be connected to the same wifi network
    • On mac: adb pair [ip:port] [pairing_code] – example: adb pair 192.168.150.120:37181 188231
    • On mac: adb connect 192.168.150.120:37181
    • On mac: adb devices

    After last command your device should be properly listed and ready to run npm react-native run-android 🙂

    Login or Signup to reply.
  2. Select "transfer photos" from usb options after connecting data cable. It will be connected on ADB.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search