我无法运行之前运行的自动化脚本。当我尝试在新设备中运行相同的代码时,它工作正常。
Appium 服务器日志
[UiAutomator2] 运行命令:'adb -s K3V4C18B16002502 shell am instrument -w io.appium.uiautomator2.server.test/android.support.test.runner.AndroidJUnitRunner' [UiAutomator2] 等待 UiAutomator2 上线最多 20000 毫秒。 . [debug] [JSONWP Proxy] 匹配 '/status' 到命令名 'getStatus' [debug] [JSONWP Proxy] 代理 [GET /status] 到 [GET http ://localhost:8200/wd/hub/status]没有正文 [JSONWP 代理] 收到意外响应:{"errno":"ECONNRESET","code":"ECONNRESET","syscall":"read"} [debug] [JSONWP 代理] 匹配 '/status' 到命令name 'getStatus' [debug] [JSONWP Proxy] 代理 [GET /status] 到 [GET http://localhost:8200/wd/hub/status]没有正文 [JSONWP 代理] 收到意外响应:{"errno":"ECONNRESET","code":"ECONNRESET","syscall":"read"} [debug] [UiAutomator2] [UIAutomator2] android.util. AndroidException: INSTRUMENTATION_FAILED: io.appium.uiautomator2.server.test/android.support.test.runner.AndroidJUnitRunner [debug] [UiAutomator2] [UIAutomator2] INSTRUMENTATION_STATUS: Error=Unable to find instrumentation info for: ComponentInfo{io.appium.uiautomator2 .server.test/android.support.test.runner.AndroidJUnitRunner} [debug] [UiAutomator2] [UIAutomator2] INSTRUMENTATION_STATUS: id=ActivityManagerService [debug] [UiAutomator2] [UIAutomator2] INSTRUMENTATION_STATUS_CODE: -1 [debug] [UiAutomator2] [UIAutomator2 ] 在 com.android.commands.am.Instrument.run(Instrument.java:486) [调试] [UiAutomator2] [UIAutomator2] 在 com.android.commands.am.Am.runInstrument(Am.java:194) [调试] [UiAutomator2] [UIAutomator2] 在 com.android.commands.am.Am。 onRun(Am.java:80) [debug] [UiAutomator2] [UIAutomator2] 在 com.android.internal.os.BaseCommand.run(BaseCommand.java:54) [debug] [UiAutomator2] [UIAutomator2] 在 com.android。 commands.am.Am.main(Am.java:50) [debug] [UiAutomator2] [UIAutomator2] at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method) [debug] [UiAutomator2] [UIAutomator2] at com
汪汪一只猫
德玛西亚99
慕码人2483693
相关分类