添加链接
link之家
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
Collectives™ on Stack Overflow

Find centralized, trusted content and collaborate around the technologies you use most.

Learn more about Collectives

Teams

Q&A for work

Connect and share knowledge within a single location that is structured and easy to search.

Learn more about Teams

It works on my computer, but I deployed it as an exe program through pyinstaller, but it doesn't work.

[D 230621 15:25:00 __init__:661] [pid:14580] [ce12160cfb12c03304] kill process(ps): uiautomator
[D 230621 15:25:02 __init__:391] [pid:14580] [ce12160cfb12c03304] Install app-uiautomator.apk
Exception in Tkinter callback
Traceback (most recent call last):
    File "uiautomator2\__init__.py", line 486, in _jsonrpc_retry_call
    File "uiautomator2\__init__.py", line 519, in _jsonrpc_call
uiautomator2.exceptions.GatewayError: (<Response [502]>, 'gateway error, time used 0.0s')
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
    File "tkinter\__init__.py", line 1921, in __call__
    File "mobile_like.py", line 69, in main
    File "uiautomator2\utils.py", line 114, in __call__
    File "uiautomator2\_selector.py", line 314, in wait
    File "uiautomator2\__init__.py", line 479, in __call__
    File "uiautomator2\__init__.py", line 488, in _jsonrpc_retry_call
    File "uiautomator2\__init__.py", line 640, in reset_uiautomator
    File "uiautomator2\__init__.py", line 668, in _force_reset_uiautomator_v2
    File "uiautomator2\__init__.py", line 392, in _setup_uiautomator
    File "uiautomator2\__init__.py", line 824, in push
OSError: file 'C:/Users/user/AppData/Local/Temp/_MEI214802/uiautomator2/assets/app-uiautomator.apk' not found

I thought it was a network problem, so I tried to manipulate proxies, etc., but it still doesn't work

Thanks for contributing an answer to Stack Overflow!

  • Please be sure to answer the question. Provide details and share your research!

But avoid

  • Asking for help, clarification, or responding to other answers.
  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.