岁月静好山河无恙 2021-09-08 21:36 采纳率: 0%
浏览 103
已结题

王者荣耀,AI,polov5,pyminitouch minitouch 无法获取对应权限

最近学习AI打王者荣耀时候,控制手机触屏采用minitouch,遇到严重挫折。

2021-09-08 21:26:15.928 | INFO     | pyminitouch.utils:is_device_connected:56 - device ELS-AN00 online
2021-09-08 21:26:15.930 | INFO     | pyminitouch.connection:__init__:87 - searching a usable port ...
2021-09-08 21:26:17.931 | INFO     | pyminitouch.connection:__init__:89 - device MDX0220520003781 bind to port 20842
2021-09-08 21:26:17.994 | INFO     | pyminitouch.connection:get_abi:35 - device MDX0220520003781 is arm64-v8a
2021-09-08 21:26:18.054 | INFO     | pyminitouch.connection:__init__:27 - minitouch already existed in MDX0220520003781
2021-09-08 21:26:18.056 | DEBUG    | pyminitouch.connection:_forward_port:128 - forward command: adb -s MDX0220520003781 forward tcp:20842 localabstract:minitouch
2021-09-08 21:26:18.072 | DEBUG    | pyminitouch.connection:_forward_port:130 - output: b'20842\r\n'
2021-09-08 21:26:18.074 | INFO     | pyminitouch.connection:_start_mnt:141 - start minitouch: adb -s MDX0220520003781 shell /data/local/tmp/minitouch
open: 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/event2 for inspectionopen: Permission denied
Unable to open device /dev/input/event5 for inspectionopen: Permission denied
Unable to open device /dev/input/event3 for inspectionopen: Permission denied
Unable to open device /dev/input/event4 for inspectionopen: Permission denied
Unable to open device /dev/input/mouse0 for inspectionopen: Permission denied
Unable to open device /dev/input/event1 for inspectionUnable to find a suitable touch device
connecting socket: Connection refused

错误如上,查阅大量资料,minitouch的readme,给出了解释安卓10对权限做了限制。
请问是否可以提供程序的方法,帮忙解决。

  • 写回答

1条回答 默认 最新

  • 有问必答小助手 2021-09-10 10:26
    关注

    你好,我是有问必答小助手,非常抱歉,本次您提出的有问必答问题,技术专家团超时未为您做出解答


    本次提问扣除的有问必答次数,将会以问答VIP体验卡(1次有问必答机会、商城购买实体图书享受95折优惠)的形式为您补发到账户。


    因为有问必答VIP体验卡有效期仅有1天,您在需要使用的时候【私信】联系我,我会为您补发。

    评论

报告相同问题?

问题事件

  • 系统已结题 9月16日
  • 创建了问题 9月8日

悬赏问题

  • ¥15 phython如何实现以下功能?查找同一用户名的消费金额合并—
  • ¥15 孟德尔随机化怎样画共定位分析图
  • ¥18 模拟电路问题解答有偿速度
  • ¥15 CST仿真别人的模型结果仿真结果S参数完全不对
  • ¥15 误删注册表文件致win10无法开启
  • ¥15 请问在阿里云服务器中怎么利用数据库制作网站
  • ¥60 ESP32怎么烧录自启动程序
  • ¥50 html2canvas超出滚动条不显示
  • ¥15 java业务性能问题求解(sql,业务设计相关)
  • ¥15 52810 尾椎c三个a 写蓝牙地址