Reputation: 36291
I have Android 11 on my phone, I have setup Wireless Debugging, and in the list of Paired Devices my computer shows up. However, when I run adb devices -l
on my computer, the list of devices is empty.
Why am I seeing an empty list. Is there something extra that I need to do?
Here is the device:
Here is the terminal:
Upvotes: 17
Views: 4064
Reputation: 31
Step 01: turn on wireless debugging
Step 02: click on "Pair device with pairing code" Step 02 outcome
Step 03: in cmd enter "adb pair ipaddress:hostname
" (the ip address will be
displayed on the screen after opening window in the previous step)
Step 04: enter the pairing code displayed on the android screen to the cmd
Step 05: in cmd enter "adb connect ipaddress:hostname
"
(this ip address is diffrent from the previous one
{displayed on wireless debugging window, not in the popup window})
Step 06: now adb devices
should show your device
Happy Hacking
Upvotes: 3
Reputation: 392
It says unknown command adb pair Saw the help there is no pair command listed in the menu
Instead go to platform-tools folder in my case ~/Android/Sdk/platform-tools
from here you can execute ./adb
and then in the help you can see there the pair option
./adb pair <ipaddress>:<port>
will prompt for pairing code
Then you are sucessfully connected
Upvotes: -1
Reputation: 1143
You will need to connect to the device before it becomes visible in adb devices -l
. You must run adb connect ipaddress:port
, in your case adb connect 192.168.1.123:37457
. Docs
Upvotes: 32