function clickHelper2(x, y) {
showXyTap(x, y);
if (IS_GT_SDK23) {
click(x, y);
} else {
try {
// 容易出毛病,toomanyevenliserException
Tap(x, y);
runtime.sleep(1000);
} catch (e) {
try {
if (!ra) {
ra = new RootAutomator();
}
// 保险点击
ra.tap(x, y, 1);
runtime.sleep(800);
// ra.press(x, y, 10, 1);
} catch (e) {
ErrorHandle("在此设备上需要Root权限才能运行本脚本!", true);
}
}
}
}