You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 7, 2023. It is now read-only.
UI hierchary dumped to: /sdcard/dump.xml
/sdcard/dump.xml: 1 file pulled. 8.4 MB/s (48276 bytes in 0.005s)
[{'index': '1', 'text': '通讯录', 'resource-id': 'com.tencent.mm:id/d7b', 'class': 'android.widget.TextView', 'package': 'com.tencent.mm', 'content-desc': '', 'checkable': 'false', 'checked': 'false', 'clickable': 'false', 'enabled': 'true', 'focusable': 'false', 'focused': 'false', 'scrollable': 'false', 'long-clickable': 'false', 'password': 'false', 'selected': 'false', 'bounds': '[234,1311][306,1344]'}]
UI hierchary dumped to: /sdcard/dump.xml
/sdcard/dump.xml: 1 file pulled. 10.1 MB/s (40386 bytes in 0.004s)
[{'index': '0', 'text': '新的朋友', 'resource-id': '', 'class': 'android.widget.TextView', 'package': 'com.tencent.mm', 'content-desc': '', 'checkable': 'false', 'checked': 'false', 'clickable': 'false', 'enabled': 'true', 'focusable': 'false', 'focused': 'false', 'scrollable': 'false', 'long-clickable': 'false', 'password': 'false', 'selected': 'false', 'bounds': '[144,176][312,222]'}]
UI hierchary dumped to: /sdcard/dump.xml
/sdcard/dump.xml: 1 file pulled. 6.0 MB/s (10009 bytes in 0.002s)
[{'index': '0', 'text': '添加朋友', 'resource-id': 'com.tencent.mm:id/jw', 'class': 'android.widget.TextView', 'package': 'com.tencent.mm', 'content-desc': '', 'checkable': 'false', 'checked': 'false', 'clickable': 'true', 'enabled': 'true', 'focusable': 'true', 'focused': 'false', 'scrollable': 'false', 'long-clickable': 'true', 'password': 'false', 'selected': 'false', 'bounds': '[520,48][720,144]'}]
UI hierchary dumped to: /sdcard/dump.xml
/sdcard/dump.xml: 1 file pulled. 9.4 MB/s (31894 bytes in 0.003s)
[{'index': '1', 'text': '微信号/QQ号/手机号', 'resource-id': 'com.tencent.mm:id/d85', 'class': 'android.widget.TextView', 'package': 'com.tencent.mm', 'content-desc': '', 'checkable': 'false', 'checked': 'false', 'clickable': 'false', 'enabled': 'true', 'focusable': 'false', 'focused': 'false', 'scrollable': 'false', 'long-clickable': 'false', 'password': 'false', 'selected': 'false', 'bounds': '[32,189][688,251]'}]
===== 开始查找 ===== 13029620003 =====
UI hierchary dumped to: /sdcard/dump.xml
/sdcard/dump.xml: 1 file pulled. 2.7 MB/s (6852 bytes in 0.002s)
[{'index': '0', 'text': '微信号/QQ号/手机号', 'resource-id': 'com.tencent.mm:id/kh', 'class': 'android.widget.EditText', 'package': 'com.tencent.mm', 'content-desc': '', 'checkable': 'false', 'checked': 'false', 'clickable': 'true', 'enabled': 'true', 'focusable': 'true', 'focused': 'true', 'scrollable': 'false', 'long-clickable': 'true', 'password': 'false', 'selected': 'false', 'bounds': '[80,73][704,119]'}]
UI hierchary dumped to: /sdcard/dump.xml
/sdcard/dump.xml: 1 file pulled. 5.2 MB/s (8896 bytes in 0.002s)
[{'index': '1', 'text': '搜索:13029620003', 'resource-id': 'com.tencent.mm:id/mf', 'class': 'android.widget.TextView', 'package': 'com.tencent.mm', 'content-desc': '', 'checkable': 'false', 'checked': 'false', 'clickable': 'false', 'enabled': 'true', 'focusable': 'false', 'focused': 'false', 'scrollable': 'false', 'long-clickable': 'false', 'password': 'false', 'selected': 'false', 'bounds': '[160,185][720,231]'}]
==> 点击搜索 ==>
UI hierchary dumped to: /sdcard/dump.xml
/sdcard/dump.xml: 1 file pulled. 6.2 MB/s (21502 bytes in 0.003s)
UI hierchary dumped to: /sdcard/dump.xml
/sdcard/dump.xml: 1 file pulled. 7.1 MB/s (21502 bytes in 0.003s)
[{'NAF': 'true', 'index': '1', 'text': '', 'resource-id': 'com.tencent.mm:id/b3t', 'class': 'android.widget.ImageView', 'package': 'com.tencent.mm', 'content-desc': '', 'checkable': 'false', 'checked': 'false', 'clickable': 'true', 'enabled': 'true', 'focusable': 'true', 'focused': 'false', 'scrollable': 'false', 'long-clickable': 'false', 'password': 'false', 'selected': 'false', 'bounds': '[0,224][720,352]'}]
Traceback (most recent call last):
File "run.py", line 90, in
run(sys.argv[1:])
File "run.py", line 43, in run
fun.main()
File "/home/kerwin/桌面/auto_add_wechat/main.py", line 203, in main
self.add_friends(str(line))
File "/home/kerwin/桌面/auto_add_wechat/main.py", line 190, in add_friends
self._adb.click(1)
File "/home/kerwin/桌面/auto_add_wechat/adb.py", line 121, in click
self.cal_coordinate(cal_index)
File "/home/kerwin/桌面/auto_add_wechat/adb.py", line 106, in cal_coordinate
_bounds = self._nodes[_index]['bounds']
IndexError: list index out of range
运行到添加到通讯录页面
The text was updated successfully, but these errors were encountered: