Android Debug Bridge version 1.0.32
Revision debian
-a - directs adb to listen on all interfaces for a connection
-d - directs command to the only connected USB device
returns an error if more than one USB device is present.
-e - directs command to the only running emulator.
returns an error if more than one emulator is running.
-s <specific device> - directs command to the device or emulator with the given
serial number or qualifier. Overrides ANDROID_SERIAL
environment variable.
-p <product name or path> - simple product name like 'sooner', or
a relative/absolute path to a product
out directory like 'out/target/product/sooner'.
If -p is not specified, the ANDROID_PRODUCT_OUT
environment variable is used, which must
be an absolute path.
-H - Name of adb server host (default: localhost)
-P - Port of adb server (default: 5037)
devices [-l] - list all connected devices
('-l' will also list device qualifiers)
connect <host>[:<port>] - connect to a device via TCP/IP
Port 5555 is used by default if no port number is specified.
disconnect [<host>[:<port>]] - disconnect from a TCP/IP device.
Port 5555 is used by default if no port number is specified.
Using this command with no additional arguments
will disconnect from all connected TCP/IP devices.
...
when I run adb reverse tcp:8081 tcp:8081,
it prints
1)
adb server is out of date. killing...
* daemon started successfully *
** daemon still not running
error: cannot connect to daemon: Connection refused
error: cannot connect to daemon: Connection refused
adb server is out of date. killing...
* daemon started successfully *
Hello guys, I’m facing a small variation of this issue. It prints my local IP address at the error message instead of localhost. I am trying to connect to my mobile, Android 10 system up to date.
Ahoy guys, don’t know if it will work. But it worked for me, just disconnect both of your devices. Laptop/Pc and mobile and reconnect to the same wifi.