atxserver2-android-provider icon indicating copy to clipboard operation
atxserver2-android-provider copied to clipboard

【Bug】安卓10,网页点击设备无效

Open taylortaurus opened this issue 4 years ago • 14 comments

image

taylortaurus avatar Apr 13 '21 12:04 taylortaurus

遇到了一样的问题,解决了么

yuecloud avatar Apr 21 '21 06:04 yuecloud

我试过了,将uiautomator2版本回退到2.5.6版本就能正常点击了。。

yuecloud avatar Apr 21 '21 08:04 yuecloud

我试过了,将uiautomator2版本回退到2.5.6版本就能正常点击了。。

你是脚本跑的?连接老是断开?

taylortaurus avatar Apr 21 '21 08:04 taylortaurus

我试过了,将uiautomator2版本回退到2.5.6版本就能正常点击了。。

你是脚本跑的?连接老是断开?

没有,我是搭建atxserver2,远程真机。但是小米系统的手机一直黑屏。其它的安卓10系统现在运行正常了。

yuecloud avatar Apr 22 '21 03:04 yuecloud

我试过了,将uiautomator2版本回退到2.5.6版本就能正常点击了。。

你是脚本跑的?连接老是断开?

没有,我是搭建atxserver2,远程真机。但是小米系统的手机一直黑屏。其它的安卓10系统现在运行正常了。

弱弱的问下,uiautomator2是如何退回到2.5.6版本的?

taylortaurus avatar Apr 23 '21 00:04 taylortaurus

pip3 uninstall uiautomator2 pip3 install uiautomator2==2.5.6

yuecloud avatar Apr 23 '21 05:04 yuecloud

yuecloud @.***>于2021年4月23日 周五13:47写道:

pip3 uninstall uiautomator2 pip3 install uiautomator2==2.5.6

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/openatx/atxserver2-android-provider/issues/49#issuecomment-825403998, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABYNW5ZLTW6PMVKZYIE43U3TKECY3ANCNFSM423GPDVQ .

ok,我来试一下。

taylortaurus avatar Apr 23 '21 05:04 taylortaurus

minitouch本身不是不支持android10吗?为什么将uiautomator2的版本退回到2.5.6就可以。 我这边将provider依赖的uiautomater2的版本退回到2.5.6,使用oppo-R17进行连接,同样无法点击啊。 以下是minitouch项目的描述: https://github.com/openstf/minitouch#for-android-10-and-up @yuecloud

a940582450 avatar Apr 29 '21 11:04 a940582450

minitouch本身不是不支持android10吗?为什么将uiautomator2的版本退回到2.5.6就可以。 我这边将provider依赖的uiautomater2的版本退回到2.5.6,使用oppo-R17进行连接,同样无法点击啊。 以下是minitouch项目的描述: https://github.com/openstf/minitouch#for-android-10-and-up @yuecloud

你需要更新 minitouch and minicap

https://github.com/openatx/stf-binaries/tree/master/node_modules/%40devicefarmer

yuecloud avatar May 01 '21 03:05 yuecloud

minitouch本身不是不支持android10吗?为什么将uiautomator2的版本退回到2.5.6就可以。 我这边将provider依赖的uiautomater2的版本退回到2.5.6,使用oppo-R17进行连接,同样无法点击啊。 以下是minitouch项目的描述: https://github.com/openstf/minitouch#for-android-10-and-up @yuecloud

你需要更新 minitouch and minicap

https://github.com/openatx/stf-binaries/tree/master/node_modules/%40devicefarmer

我使用的的确是最新的minitouch和minicap。 你使用的是什么android设备?官方明确说明了google在android10上已经禁止了minitouch(Minitouch can't handle Android 10 by default, due to a new security policy. The workaround is to forward touch commands to STFService. ),也说了要在android10上使用minitouch只能通过STFService.apk进行转发,不知道你通过什么方式做到的,如果可以的话,麻烦告知一下具体的方式,万分感谢!

a940582450 avatar May 06 '21 10:05 a940582450

minitouch本身不是不支持android10吗?为什么将uiautomator2的版本退回到2.5.6就可以。 我这边将provider依赖的uiautomater2的版本退回到2.5.6,使用oppo-R17进行连接,同样无法点击啊。 以下是minitouch项目的描述: https://github.com/openstf/minitouch#for-android-10-and-up @yuecloud

你需要更新 minitouch and minicap https://github.com/openatx/stf-binaries/tree/master/node_modules/%40devicefarmer

我使用的的确是最新的minitouch和minicap。 你使用的是什么android设备?官方明确说明了google在android10上已经禁止了minitouch(Minitouch can't handle Android 10 by default, due to a new security policy. The workaround is to forward touch commands to STFService. ),也说了要在android10上使用minitouch只能通过STFService.apk进行转发,不知道你通过什么方式做到的,如果可以的话,麻烦告知一下具体的方式,万分感谢!

支持的吧,我在https://github.com/openatx/stf-binaries/tree/master/node_modules/%40devicefarmer 这里面下载的,是支持安卓10和安卓11的,测试机为华为荣耀和oppo机型

yuecloud avatar May 06 '21 12:05 yuecloud

小米设备 安卓10,也是遇到这个情况,minitouch无法使用,有人在跟踪吗?

jahentao avatar Oct 26 '21 23:10 jahentao

minitouch本身不是不支持android10吗?为什么将uiautomator2的版本退回到2.5.6就可以。 我这边将provider依赖的uiautomater2的版本退回到2.5.6,使用oppo-R17进行连接,同样无法点击啊。 以下是minitouch项目的描述: https://github.com/openstf/minitouch#for-android-10-and-up @yuecloud

你需要更新 minitouch and minicap

https://github.com/openatx/stf-binaries/tree/master/node_modules/%40devicefarmer 请问下大佬,怎么更新 minitouch? 我下载后直接替换atxserver2 里面的 stf-binaries-0.3.0.zip 么

Felix1029 avatar Nov 13 '21 08:11 Felix1029

看下这两个apk是否安装成功,我遇到一个手机安装应用需要手动点击确认继续安装的,就点击不了,手动安装就好了 image

上面是Windows环境好了,,但是放到Linux里面又出现了了,安装了这两个apk还是不行??----原来minitouch的stf和atxserver只能一个能点击,我停掉stf,就好了。。。。

jeniva avatar Dec 13 '21 03:12 jeniva