Skip to main content

adb_reverse_args

Function adb_reverse_args 

Source
pub fn adb_reverse_args(device_id: &str, port: u16) -> Vec<String>
Expand description

adb -s <device> reverse tcp:<port> tcp:<port> — maps the device’s loopback port onto the host’s so the dev server is reachable from an Android emulator or a USB-connected device alike.