尝试通过Intellij IEDA运行Appium服务器时出现错误:
错误:无法启动Appium会话,错误是:错误:命令失败:C:\ WINDOWS \ system32 \ cmd.exe / s / c" C:\ Android \ sdk \ platform-tools \ adb .exe -s emulator-5554安装" C:\ Program Files(x86)\ Appium \ node_modules \ appium \ build \ settings_apk \ settings_apk-debug.apk""
无法安装C:\ Program Files(x86)\ Appium \ node_modules \ appium \ build \ settings_apk \ settings_apk-debug.apk:失败[INSTALL_FAILED_ALREADY_EXISTS:尝试在未先卸载的情况下重新安装io.appium.settings。]
info:[debug]错误:命令失败:C:\ WINDOWS \ system32 \ cmd.exe / s / c" C:\ Android \ sdk \ platform-tools \ adb.exe -s emulator-5554安装" C:\ Program Files(x86)\ Appium \ node_modules \ appium \ build \ settings_apk \ settings_apk-debug.apk""
无法安装C:\ Program Files(x86)\ Appium \ node_modules \ appium \ build \ settings_apk \ settings_apk-debug.apk:失败[INSTALL_FAILED_ALREADY_EXISTS:尝试在未先卸载的情况下重新安装io.appium.settings。]
我通过gradel
和maven
尝试过,两者都有同样的错误!
答案 0 :(得分:0)
删除设备中的旧应用并再次启动appium服务器