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
╰─➤ python -m uiautomator2 uninstall 192.168.168.27:42659 1 ↵
Traceback (most recent call last):
File "/opt/homebrew/Cellar/python@3.10/3.10.13_1/Frameworks/Python.framework/Versions/3.10/lib/python3.10/runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/opt/homebrew/Cellar/python@3.10/3.10.13_1/Frameworks/Python.framework/Versions/3.10/lib/python3.10/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/Users/ponponon/.local/share/virtualenvs/wechatimagesearch-ut6SlEe8/lib/python3.10/site-packages/uiautomator2/__main__.py", line 289, in<module>main()
File "/Users/ponponon/.local/share/virtualenvs/wechatimagesearch-ut6SlEe8/lib/python3.10/site-packages/uiautomator2/__main__.py", line 279, in main
actions[args.subparser](args)
File "/Users/ponponon/.local/share/virtualenvs/wechatimagesearch-ut6SlEe8/lib/python3.10/site-packages/uiautomator2/__main__.py", line 65, in cmd_uninstall
d = u2.connect(args.serial)
File "/Users/ponponon/.local/share/virtualenvs/wechatimagesearch-ut6SlEe8/lib/python3.10/site-packages/uiautomator2/__init__.py", line 1928, in connect
return connect_usb(addr)
File "/Users/ponponon/.local/share/virtualenvs/wechatimagesearch-ut6SlEe8/lib/python3.10/site-packages/uiautomator2/__init__.py", line 1967, in connect_usb
device = adbutils.adb.device()
File "/Users/ponponon/.local/share/virtualenvs/wechatimagesearch-ut6SlEe8/lib/python3.10/site-packages/adbutils/__init__.py", line 81, in device
raise RuntimeError(
RuntimeError: more than one device/emulator, please specify the serial number
╰─➤ adb devices 1 ↵
List of devices attached
192.168.168.27:42659 device
adb-WW59LJ594T8HVGO7-3NJYYA._adb-tls-connect._tcp. device
The text was updated successfully, but these errors were encountered:
codeskyblue
changed the title
RuntimeError: more than one device/emulator, please specify the serial number
uiautomator2 uninstall add -s/--serial support
May 1, 2024
有两个设备,怎么指定 uninstall 哪个?
python -m uiautomator2 uninstall 192.168.168.27:42659
这样的格式不对The text was updated successfully, but these errors were encountered: