The appium startup keeps reporting errors.
Various errors, such as.
Various errors, such as.
[debug] [ADB] Creating ADB subprocess with args: ["-P",5037,"-s","192.168.0.4:5555","shell","am","instrument","-w","io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner"] [debug] [WD Proxy] Matched '/status' to command name 'getStatus' [debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8200/wd/hub/status] with no body [WD Proxy] Got an unexpected response: {"errno":-4077,"code":"ECONNRESET","syscall":"read"}
or:
[debug] [ADB] Running 'D:\003-soft\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 192.168.0.4\:5555 forward --remove tcp\:8200' [UiAutomator2] Unable to remove port forward 'Error executing adbExec. Original error: 'Command 'D\:\\003-soft\\android-sdk-windows\\platform-tools\\adb.exe -P 5037 -s 192.168.0.4\:5555 forward --remove tcp\:8200' exited with code 1'; Stderr: 'error: listener 'tcp:8200' not found'; Code: '1'' [debug] [BaseDriver] Event 'newSessionStarted' logged at 1659668519002 (11:01:59 GMT+0800 (China Standard Time))
The appium.setting installed on the device doesn’t open manually either, and I always thought that was the reason.
Tried to re-install appium and node version, still not working. Finally, here is the solution below:
if automation_name =='UiAutomator2': desired_cap['uiautomator2ServerInstallTimeout'] = 20000 This time is changed from 9000 to 20000 and it's fine. It started successfully. After a week of problems, finally good.
Read More:
- How to Solve nacos Startup Error and Connect to MYSQL
- How to Solve Spring integrate Seata startup error
- [PROJECT] itdage java to get the weather and send text messages
- The @value annotation of springboot adds the default value to solve the startup error caused by the non-existent key
- Appium Run Error: An unknown server-side error occurred while processing the command. Original error: Cann
- Android startup page (solve the problem of starting black and white screen)
- How to Solve RAR Files Extract Error with sevenzipjbinding (Multithread Processing)
- How to Solve Hbase JAVA import Package Error
- How to Solve IntelliJ IDEA Error: Cannot determine path to ‘tools.jar‘ library for 17 (C:\Program Files\Java\jd…
- How to Solve SQL comments error in the mybatis query
- How to Solve Swagger error: IllegalStateException
- How to Solve Nosuchmethoderror Error
- Mac: How to Solve ERROR launching ‘JD-GUI‘
- How to Solve Linux connecte to the old version of SQL Server Error
- How to Solve Error executing DDL in JPA
- How to Solve Webstrom Launching Error
- [Solved] kafka startup Error: ERROR Fatal error during KafkaServer startup. Prepare to shutdown
- How to Solve Log4j 2.5 upgrade to 2.15 error
- How to Solve JUnit Debugging initializationerror ERROR
- How to Solve IBM MQ Connect Error Code 2035