Currently when sending an adb reverse command, an error occurs:
RuntimeError: ERROR: 'FAIL' 0016malformed forward spec
After digging into the code and the adb source code, it turns out that there's a small typo in the command:
|
cmd = "reverse:forward:{remote}:{local}".format( |
This should be: reverse:forward:{remote};{local}, note the last : which should be ;. See:
https://github.com/aosp-mirror/platform_system_core/blob/fc1cf90741e59d5615a7dcea1813f38bfa3a2eec/adb/SERVICES.TXT#L246
Currently when sending an adb reverse command, an error occurs:
After digging into the code and the adb source code, it turns out that there's a small typo in the command:
pure-python-adb/ppadb/command/transport/__init__.py
Line 165 in 9644c6b
This should be:
reverse:forward:{remote};{local}, note the last:which should be;. See:https://github.com/aosp-mirror/platform_system_core/blob/fc1cf90741e59d5615a7dcea1813f38bfa3a2eec/adb/SERVICES.TXT#L246