Open 12MYDH opened 1 year ago
What's the type of your device?
The problem is that, your device must have android 10 or a higher version, try enabling usb debugging.
computer is win11, phone is oppo reno5 5G
The problem is that, your device must have android 10 or a higher version, try enabling usb debugging.
yes, I'am do it
adb -s b15313e9 shell /data/local/tmp/minitouch
You can try calling raw minitouch for checking its permission is correct. If it did not work too, the problem might not caused by python wrapper.
2022-12-16 22:18:10.655 | INFO | pyminitouch.utils:is_device_connected:56 - device CPH2113 online 2022-12-16 22:18:10.656 | INFO | pyminitouch.connection:init:87 - searching a usable port ... 2022-12-16 22:18:12.660 | INFO | pyminitouch.connection:init:89 - device b15313e9 bind to port 20770 2022-12-16 22:18:12.792 | INFO | pyminitouch.connection:get_abi:35 - device b15313e9 is arm64-v8a 2022-12-16 22:18:12.899 | INFO | pyminitouch.connection:init:27 - minitouch already existed in b15313e9 2022-12-16 22:18:12.899 | DEBUG | pyminitouch.connection:_forward_port:128 - forward command: adb -s b15313e9 forward tcp:20770 localabstract:minitouch 2022-12-16 22:18:12.946 | DEBUG | pyminitouch.connection:_forward_port:130 - output: b'20770\r\n' 2022-12-16 22:18:12.946 | INFO | pyminitouch.connection:_start_mnt:141 - start minitouch: adb -s b15313e9 shell /data/local/tmp/minitouch open: Permission denied Unable to open device /dev/input/event6 for inspectionopen: Permission denied Unable to open device /dev/input/event5 for inspectionopen: Permission denied Unable to open device /dev/input/event1 for inspectionopen: Permission denied Unable to open device /dev/input/event4 for inspectionopen: Permission denied Unable to open device /dev/input/event0 for inspectionopen: Permission denied Unable to open device /dev/input/event2 for inspectionopen: Permission denied Unable to open device /dev/input/event3 for inspectionUnable to find a suitable touch device Traceback (most recent call last):