在Android手机上借助Android 无障碍(Accessibility )服务,可以完成一些有趣的自动化操作,例如类似李跳跳自动点击广告跳过开屏广告等等。
基于 无障碍(Accessibility ),诞生了众多的服务,其中最有影响力的自动化工具要数Autojs。
Auto.js 2017/01/27 初次发布, 于 2020/03/13 停止维护, 最终版本名称为 4.1.1 。
从Auto.js 4后,变为闭源和收费,更名为 AutoJS Pro,后续经历了7、8、9几个版本。Auto.js 8以后的版本,禁用了主流app的调试,打包apk以后,也无法操作,因此不推荐Auto.js Pro。
自2019年起,出现了众多基于Auto.js 4的开源项目。
汇总一下Android上常用的自动化工具。
基于Auto.js的工具
Hamibot
AutoTask
https://github.com/xjunz/AutoTask
支持Shizuku和辅助功能的自动任务工具
AutoX
https://github.com/kkevsekk1/AutoX
Auto.js M
https://github.com/TonyJiangWJ/Auto.js
AutoJs6
https://github.com/SuperMonster003/AutoJs6
非Auto.js的第三方自动化工具
Smart AutoClicker
https://github.com/Nain57/Smart-AutoClicker
uiautomator2
https://github.com/openatx/uiautomator2
MacroDroid
免费有内购
Automate
https://llamalab.com/automate/
免费有内购
Tasker(收费,没MacroDroid/Automate好用,不推荐)
还有一些xposed 的模块,由于需要root,不推荐。