Env:
Mac as host
A container(image version: ubuntu:16.04) running on the host.
Adb version: 1.0.32, running in container.
adbkit version: 2.11.1 running in Mac host.
Running way:
- Use usb connect android phone(mi5s plus).
- Running
adbkit usb-device-to-tcp -p $port $deviceid
.
- Run a container using image(ubuntu:16.04).
- Run
adb connect host.docker.internal:$port
to connect adbkit.
- Run
adb shell -x getevent -lp
. Error:/system/bin/sh: /system/bin/sh: - : unknown option
When I run adb shell getevent -lp
, that's correct, not -x
paramater, It works good.
When I run adb shell -x getevent -lp
in mac host, It works good too.
When I run adb shell -x getevent -lp
in windows10, It works good too.
When I run adb shell -x getevent -lp
in ubuntu16.04, It works good too.
Why can't run adb shell -x getevent -lp
in ubuntu:16.04 container, I don't any idea, could you help me.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…