The format is a list of lines with the following format:Īdb forward - forward socket connectionsĪdb forward -remove - remove a specific forward socket connectionĪdb forward -remove-all - remove all forward socket connectionsĪdb reverse -list - list all reverse socket connections from deviceĪdb reverse - reverse socket connections Will disconnect from all connected TCP/IP devices.Īdb sync - copy host->device only if changedĪdb shell - run remote shell interactivelyĪdb forward -list - list all forward socket connections. Using this command with no additional arguments Port 5555 is used by default if no port number is specified.ĭisconnect ] - disconnect from a TCP/IP device. H - Name of adb server host (default: localhost)ĭevices - list all connected devicesĬonnect - connect to a device via TCP/IP If -p is not specified, the ANDROID_PRODUCT_OUT Out directory like 'out/target/product/sooner'. p - simple product name like 'sooner', or s - directs command to the device or emulator with the given Returns an error if more than one emulator is running. e - directs command to the only running emulator. Returns an error if more than one USB device is present. d - directs command to the only connected USB device a - directs adb to listen on all interfaces for a connection You can get your package name like so: $ /path/to/adb shell 'pm list packages -f myapp'
0 Comments
Leave a Reply. |