Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

升级了安卓13,总是点击了强国城兑福利 #595

Open
Jay32321 opened this issue Dec 21, 2022 · 13 comments
Open

升级了安卓13,总是点击了强国城兑福利 #595

Jay32321 opened this issue Dec 21, 2022 · 13 comments

Comments

@Jay32321
Copy link

总是点击了强国城兑福利,之后就会出现错误字符

@Jay32321
Copy link
Author

image

@Jay32321
Copy link
Author

image

@Jay32321
Copy link
Author

image

@NYC361
Copy link

NYC361 commented Dec 22, 2022

同,其他的助手在MIUI 13下也有这样那样的问题,比如双人四人作战不答题,不知道哪里的问题

@Myrkyn
Copy link

Myrkyn commented Dec 22, 2022

俺也一样

@Alex-yfb
Copy link

+1

@dundunnp
Copy link
Owner

dundunnp commented Jan 1, 2023

MIUI 13 系统的问题,控件没有获取到,我打算写一个适配MIUI 13的脚本,但是苦于没找到能用MIUI 13的虚拟机

@tonylxt
Copy link

tonylxt commented Jan 14, 2023

请问:这个问题是只出现在小米的安卓13版本上,还是所有手机的安卓13都会有问题?

@chmrhythm
Copy link

安卓13更新后 更改hamibot脚本394行的className("android.view.View").clickable(true).depth(22).findOne().click();中的22为23即可

@tonylxt
Copy link

tonylxt commented Jan 29, 2023

@chmrhythm 升级安卓13后,只要改脚本这一处就行了吗?其它地方还要动吗?这几天手机的系统一直没敢升级,呵呵

@dundunnp dundunnp pinned this issue Jan 29, 2023
@chmrhythm
Copy link

@tonylxt 已知一加手机升级13后,按如上修改为23后可以正常运行,不会进入强国城,其他手机品类不知道

@Microbai
Copy link

Microbai commented Feb 2, 2023

安卓13更新后 更改hamibot脚本394行的className("android.view.View").clickable(true).depth(22).findOne().click();中的22为23即可

测试有效

@McMug2020
Copy link
Contributor

确认是系统升级13的问题吗?准备这样改,不知道刑不刑
var version_number = device.release;
version_number = Number(version_number);
if (version_number == 13) {
className("android.view.View").clickable(true).depth(23).findOne().click();
} else {
className("android.view.View").clickable(true).depth(22).findOne().click();
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants