10000 真机连接时提示Local server not started, start with · Issue #153 · alibaba/web-editor · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Jul 21, 2024. It is now read-only.
This repository was archived by the owner on Jul 21, 2024. It is now read-only.
真机连接时提示Local server not started, start with #153
Open
@DirreckH

Description

@DirreckH

RT,我在尝试使用真机连接时,部分页面会显示如图内的报错,请问这个是什么原因呢?
image
我尝试重新启动weditor,但仍然在同一个页面会报错,weditor的日志为:
[E 240512 23:33:45 web:1875] Uncaught exception GET /api/v2/devices/AndroidADB%3A/hierarchy (::1)
HTTPServerRequest(protocol='http', host='localhost:17310', method='GET', uri='/api/v2/devices/AndroidADB%3A/hierarchy', version='HTTP/1.1', remote_ip='::1')
Traceback (most recent call last):
File "C:\Python312\Lib\site-packages\tornado\web.py", line 1788, in _execute
result = method(*self.path_args, **self.path_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python312\Lib\site-packages\weditor\web\handlers\page.py", line 97, in get
self.write(d.dump_hierarchy2())
^^^^^^^^^^^^^^^^^^^
File "C:\Python312\Lib\site-packages\weditor\web\device.py", line 44, in dump_hierarchy2
page_xml = self._d.dump_hierarchy()
^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python312\Lib\site-packages\adbutils\shell.py", line 434, in dump_hierarchy
raise AdbError("uiautomator dump failed", output)
adbutils.errors.AdbError: ('uiautomator dump failed', 'ERROR: could not get idle state.\nsuccess')
[E 240512 23:33:45 web:2348] 500 GET /api/v2/devices/AndroidADB%3A/hierarchy (::1) 12332.57ms

设备为Android 14
使用USB连接

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0