我是 Appium 的新手,在尝试通过 Appium Inspector 启动会话时遇到这样的错误:
Failed to create a session.
An unknown server-side error occurred while processing the command.
Original error: Error executing adbExec.
Original error: 'Command 'C:\\Users\\xukin\\AppData\\Local\\Android\\Sdk\\platform-tools\\adb.exe -P 5037 -s emulator-5554 install -g C:\\Windows\\system32\\node_modules\\appium-uiautomator2-driver\\node_modules\\io.appium.settings\\apks\\settings_apk-debug.apk' exited with code 1';
Command output:
adb: failed to stat C:\Windows\system32\node_modules\appium-uiautomator2-driver\node_modules\io.appium.settings\apks\settings_apk-debug.apk: No such file or directory
能力:
{
"platformName": "Android",
"appium:platformVersion": "12",
"appium:deviceName": "Pixel XL",
"appium:app": "C:/Users/xukin/OneDrive/Документы/app-release.apk",
"appium:automationName": "UIAutomator2",
"appium:udid": "emulator-5554"
}
我查看了这个路径,文件就在那里。有人知道是什么问题吗?
我遇到了同样的问题,但我仍然可以找到该文件..
我还尝试通过命令手动安装: C:\Users\MahmoudSamy\AppData\Local\Android\Sdk\platform-tools db.exe -P 5037 -s emulator-5556 install -g C:\Windows\System32 ode_modules ppium-uiautomator2-驱动程序 ode_modules\io.appium.settings pks\settings_apk-debug.apk
我也遇到同样的错误
我尝试了所有类型的斜杠..我得到了同样的错误.
有人发现什么了吗!