不会编程教你制作Android辅助功能_第1页
不会编程教你制作Android辅助功能_第2页
不会编程教你制作Android辅助功能_第3页
不会编程教你制作Android辅助功能_第4页
不会编程教你制作Android辅助功能_第5页
已阅读5页,还剩11页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、准备工作 手机端安装冰狐智能辅助 ,详细安装过程请看这里。手机端安装爱奇艺极速版 v1.10.6 ,注意,必须安装这个版本,不同的版本操作界面可能 不同,可能会导致辅助功能失效。点击这里从豌豆荚官网下载该版本。注册爱奇艺极速版用户并登陆。制作辅助功能 进入移动端 / 自动构建 ,新建名为”爱奇艺极速版“的自动构建。 点击“配置源码”按钮,将如下 json 数据粘贴进去,保存。"type": "root","children": "type": "declareVar","var&quo

2、t;: "name": "ret","type": "normal","initType": "null","initValue": "null", "name": "view","type": "normal","initType": "null","initValue": "null&

3、quot;, "name": "viewContainer","type": "normal","initType": "null","initValue": "null", "name": "item","type": "normal","initType": "null","initValue"

4、: "null","desc": " 变量声明 ", "type": "launchApp","packageName": "com.qiyi.video.lite","findTag": "txt: 首页 -","failed": "exitPopup","maxStep": "30","children": &qu

5、ot;type": "log","log":"启动app成功","desc": " 启动成功日志 ", "info": "string -app 启动成功 ", "log_type": "log""type": "switchPage", "returnVar": "", "findTag": "t

6、xt: 开宝箱 -", "checkTag": "txt: 活动规则 -", "root": "","click": "true","failed": "exitPopupWithAD", "descendant": "", "duration": "500", "maxStep": "5", "b

7、eforeWait": "0", "afterWait": "0", "children": "type": "log", "desc": " 开始日志 ", "log_type": "log", "info": "string - 进入任务 ", "type": "task", "scrollCo

8、unt": "2", "returnTag": "txt: 活动规则 -", "taskDeal": "key": "txtA:免费抽大奖-","value": "type": "switchPage", "desc": " 切换到幸运大转盘 ", "returnVar": "", "findTag": &q

9、uot;txtA: 免费抽大奖 -", "checkTag": "txt: 幸运大转盘 -", "root": "","click": "true","failed": "exitPopupWithAD", "descendant": , "duration": "500","maxStep": "5", "befor

10、eWait": "0", "afterWait": "0","children": "type": "loop","desc": " 循环多次处理抽奖 " "class": "2","startIndex": "0","endIndex": "20", "children": "

11、type": "findView","desc": "搜索控件 ","viewDeal": "key": "txt 恭喜至U账 -traverse_one_by_one", "value": "type": "loop","desc": " 退出至账 ", "class": "4", "container":

12、 "view", "descendant": " -1,-1","children": "type": "if", "desc": " 条件处理 ", "expr": "item.clickable","children": "type": "log", "desc": " 日志 ", "

13、log_type": "log","info": "string -click x,and exit" , "type": "click", "desc": " 点击控件 ", "class": "2", "click": "true", "descendant": , "beforeWait": "0",

14、"afterWait": "0", "target": "item", "type": "break", "desc": " 跳出循环 ", "key": "txt$: 后再来 -","value": "type": "break", "desc": " 跳出循环 ", "key"

15、;: "txt'lottery -list-","value": txt"type": "custom", "desc": " 抽奖 ", "code":"varview.parent.parent.parent20.text;nconsole.log('txt:' + txt);nvar num = parseInt(txt);nif(num > 0) ngestureClick(view.left + view.

16、right) / 2, (view.top + view.bottom) / 2, afterWait: 8000);nconsole.log(' 点击开始抽奖 ');n else nconsole.log(' 抽奖结束 ');nbreak;n", "key": "txtA:lottery -list-","value": "type": "if","desc": " 条件处理 ","expr"

17、:"parseInt(view.parent.parent.parent20.text)>0","children": "type": "click", "desc": " 点击控件 ", "class": "4", "duration": "500", "beforeWait": "0", "afterWait": "8

18、000", "x": "0", "y": "0", "unit": "px","root": "","failed": "exitPopupWithAD","duration": "500","maxStep": "10", "beforeWait": "0", &qu

19、ot;afterWait": "0", "false": "type": "break", "desc": " 跳出循环 " , "descendant": , "type": "back2Page","desc": " 返回页面 ","returnVar": "","tag": "txt: 我的

20、|txt: 活动规则 -", "root": "","backFirst": "true", "failed": "", "duration": "500", "maxStep": "5", "beforeWait": "0", "afterWait": "0","false": &quo

21、t;type": "log", "desc": " 日志 ", "log_type": "error", "info": "string -切换到大转盘失败 " , "key": "txt: 开宝箱领金币 |txt$: 每日可领 -", "value": "type": "click","desc": "点击控件 &q

22、uot;, "class": "2", "click": "true", "descendant": , "beforeWait": "0", "afterWait": "1000", "target": "view","maxDealCount": "8","failed": "exitPopupWithA

23、D","desc": " 任务处理 ","removeTag": true, "type": "log","desc": " 结束日志 ","log_type": "log","info": "string - 任务结束 ","desc": " 切换到任务频道 ","false": "type&qu

24、ot;: "log","desc": "日志 ", "log_type": "error","info": "string - 进入任务失败 ""type": "switchPage", "returnVar": "", "findTag": "txt: 首页 -", "checkTag": "txt: 电视

25、剧 -","root": "","click": "true", "failed": "exitPopupWithAD", "descendant": , "duration": "500","maxStep": "5", "beforeWait": "0","afterWait": "0"

26、;, "children": "type": "mainLoop", "minRunTime": "2", "maxRunTime": "5", "minScrollCount": "1", "maxScrollCount": "3","containerTag": "cn:androidx.recyclerview.widget.Recycler

27、View -", "failed": "exitPopupWithAD","children": "type": "log", "log": " 开始看视频了哦 ", "desc": " 日志 ","info": "string - 开始看电视了哦 ", "log_type": "log", "type":

28、"loopPicker","desc": " 从循环中挑选某些项处理 ", "startIndex": "1","lastIndex": "1", "random": true, "children": "type": "click", "desc": "点击电视 ", "class": "2",

29、"click": "true", "descendant": , "beforeWait": "0", "afterWait": "0", "target": "sChild" "type": "findView","desc": " 查看是否进入电视 ", "returnVar": "",&quo

30、t;tag": "txt*:/|txt: 金蛋奖励 -", "root": "","failed": "exitPopup", "duration": "500", "maxStep": "5", "beforeWait": "0", "afterWait": "0", "children": "t

31、ype": "loop","desc": " 看电视 ", "breakTag": "txt: 完成 -","failed": "", "minRunTime": "0.5", "maxRunTime": "1.2","class": 1,"viewDeal": "key": "txt*:/|txt

32、: 金蛋奖励 -", "value": "type": "loop","desc": " 看电视 ", "class": 1, "breakTag": "txt: 完成 -", "failed": "exitPopup", "minRunTime": "0.7", "maxRunTime": "1.2", &

33、quot;descendant": , "children": "type": "click","desc": " 关闭广告 ", "class": 1,"tag": "txt: 关闭此广告 -", "root": "", "click": "true", "failed": "", "descen

34、dant": , "duration": "500", "maxStep": "5", "beforeWait": "0","afterWait": "0","false": "type": "log", "desc": " 日志 ", "log_type": "log", "i

35、nfo": "string -进入电视失败 " , "type": "click","desc": " 领金币 ", "class": 1, "tag": "txt: 领金币 -", "root": "", "click": "true", "failed": "", "descendant&quo

36、t;: , "duration": "500", "maxStep": "5", "beforeWait": "0", "afterWait": "0", "type": "click","desc": " 领不固定金币 ", "class": 1,"tag": "txtA:领-", "r

37、oot": "","click": "true","failed": "","descendant": , "duration": "500","maxStep": "5","beforeWait": "0","afterWait": "0", "type": "back2Pag

38、e","desc": " 返回页面 ", "returnVar": "", "tag": "txt: 我的 -", "root": "","backFirst": "true","failed": "","duration": "500", "maxStep": "5"

39、, "beforeWait": "0", "afterWait": "0","returnTag": "txt: 我的 -", "skipProb": "80", "desc": " 滚动屏幕看电视 ", "findContainerFailed": ,"desc": " 切换到电视剧频道 ","false": &qu

40、ot;type": "log", "desc": "日志 ", "log_type": "error","info": "string -进入看电视失败 ", "type": "switchPage", "desc": " 切换到短视频 ", "returnVar": "","findTag": "

41、txt: 短视频 -", "checkTag": "txt: 推荐 -", "root": "","click": "true", "failed": "exitPopupWithAD", "descendant": ,"duration": "500", "maxStep": "5", "beforeWait&quo

42、t;: "0","afterWait": "0", "false": "type": "log", "desc": " 切换失败日志 ", "log_type": "error","info": "string -切换短视频失败 ","children": "type": "mainLoop",&q

43、uot;desc": " 主循环 ","containerTag": "cn:androidx.recyclerview.widget.RecyclerView -", "returnTag": " -","skipProb": "0","failed": "exitPopup", "minRunTime": "2", "maxRunTime":

44、"3", "minScrollCount": "1", "maxScrollCount": "1", "children": "type": "log", "desc": " 日志 ", "log_type": "log", "info": "string -开始看小视频了 " , "type":

45、"loop", "desc": " 循环 ", "breakTag": "", "failed": "", "minRunTime": "0.1", "maxRunTime": "0.5", "class": 1, "type": "break", "desc": " 跳出循环 "

46、; ,"false": "type": "log","log":"启动APP失败","desc": " 日志 ","log_type": "error","info": "string -启动 app 失败", "desc": " 启动 APP""type": "popup","name&

47、quot;: "exitPopup", "exitPopupDeal": "key": "txt: 暂不升级 |txt: 我知道了 -", "value": "type": "click","desc": " 点击控件 ","class": "2","click": "true", "descendant": , &q

48、uot;beforeWait": "0","afterWait": "0","target": "view" , "key": "txt: 猜你想看 -", "value": "type": "click","desc": " 点击控件 ", "class": 1, "tag": "txt: 取消

49、-", "root": "", "click": "true", "failed": "", "descendant": , "duration": "500", "maxStep": "5", "beforeWait": "0", "afterWait": "0" , "key

50、": "txt 再赚-", "value": "type": "click","desc": " 点击控件 ", "class": "2", "click": "false", "descendant": , "beforeWait": "0", "afterWait": "0", &qu

51、ot;target": "view" , "key": "txt: 恭喜获得 -", "value": "type": "click","desc": " 点击控件 ", "class": "2", "click": "true", "descendant": -1, 4, "beforeWait": &qu

52、ot;0", "afterWait": "0", "target": "view" , "key": "txL:恭喜到账 "value": "type": "click", "desc": " 点击控件 ", "class": "2", "click": "true", "descenda

53、nt": -1, 2, 0, "beforeWait": "0", "afterWait": "0", "target": "view", "key": "txt: 继续赚钱 -", "value": "type": "click", "desc": " 点击控件 ", "class": "2&qu

54、ot;, "click": "true", "descendant": " -1,-1,-1,1", "beforeWait": "0", "afterWait": "0", "target": "view", "key": "txtA:打开日历提醒-", "value": "type": "click&qu

55、ot;,"desc": " 点击控件 ", "class": "2", "click": "true", "descendant": " -1,7", "beforeWait": "0", "afterWait": "0", "target": "view","false": ""

56、;, "desc": " 处理弹窗 ""type": "popup","name": "exitPopupWithAD", "exitPopupDeal": ,"false": "exitPopup", "dealAD", "desc": " 处理弹窗和广告 ", "type": "ad","enterWin

57、dowList": ""com.mcto.sspsdk.ssp.activity.QyTrueViewActivity"", "enterTags": "txt*:s 后可领取奖励 -","breakTags": "txt:开宝箱|txt:我的|txtA:再赚|txt:继续赚钱|txt:幸运大转盘-", "exitDeal": "key": "txt: 关闭 -","value": &q

58、uot;type": "click","desc": " 点击控件 ","class": "2","click": "true", "descendant": , "beforeWait": "0", "afterWait": "0", "target": "view", "key": &

59、quot;txt: 恭喜获得 -","value": "type": "click","desc": " 点击控件 ","class": "2","click": "true", "descendant": -1, 4, "beforeWait": "0", "afterWait": "0", "t

60、arget": "view", "key": "cn:android.widget.ImageView -find_all|clickable","value": "type": "loop","desc": " 循环 ", "class": "4", "container": "viewContainer","children"

61、;: "type": "custom","desc": " 自定义模块,直接写入代码 ","code": "if (item.width = item.height && item.width < 80 && item.width > 40 && item.top < 100 && item.right > (rsScreenWidth - 20) nclick(item, click: true)

62、;nconsole.log('click x');nbreak;n","descendant": "", "key": "txt: 继续观看视频可获得奖励 -","value": "type": "click","desc": " 点击控件 ","class": 1,"tag": "txt: 继续观看 -","root"

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论