➜ minitouch git:(master) ✗ adb shell
OnePlus6T:/ $ cd /data/local/tmp
OnePlus6T:/data/local/tmp $ ls -l
total 40
-rwxrwxrwx 1 shell shell 25360 2021-03-03 17:54 minitouch
drwxrwxrwx 5 shell shell 4096 2021-03-02 14:46 perfd
OnePlus6T:/data/local/tmp $ chmod 777 minitouch
OnePlus6T:/data/local/tmp $ ls -l
total 40
-rwxrwxrwx 1 shell shell 25360 2021-03-03 17:54 minitouch
drwxrwxrwx 5 shell shell 4096 2021-03-02 14:46 perfd
OnePlus6T:/data/local/tmp $ exit
➜ minitouch git:(master) ✗ adb shell /data/local/tmp/minitouch
open: Permission denied
Unable to open device /dev/input/event5 for inspectionopen: Permission denied
Unable to open device /dev/input/event4 for inspectionopen: Permission denied
Unable to open device /dev/input/mice for inspectionopen: Permission denied
Unable to open device /dev/input/event0 for inspectionopen: Permission denied
Unable to open device /dev/input/event1 for inspectionopen: Permission denied
Unable to open device /dev/input/event3 for inspectionopen: Permission denied
Unable to open device /dev/input/event2 for inspectionUnable to find a suitable touch device
connecting socket: Connection refused
权限已经777了, 为什么还是执行不了呢
MiniTouchminitouch介绍 跟minicap一样,minitouch也是用NDK开发的,跟minicap使用方法类似,不过它只要上传一个minitouch文件就可以了。对应的文件...