1、错误信息:An unknown server-side error occurred while processing the command. Original error: Could not proxy command to remote server. Original error: Error: socket hang up
2、解决办法:卸载Appium相关的安装包
先获取设备名称
依次输入以下指令
adb -s 设备名称 uninstall io.appium.settings
adb -s 设备名称 uninstall io.appium.uiautomator2.server
adb -s 设备名称 uninstall io.appium.uiautomator2.server.test
若使用模拟器测试设备名称则输入:emulator-5554