Testing 处理该命令时发生未知的服务器端错误。原始错误:您必须包含platformName功能吗?

Testing 处理该命令时发生未知的服务器端错误。原始错误:您必须包含platformName功能吗?,testing,appium,qa,Testing,Appium,Qa,当我选择“启动会话”时,我无法从Appium启动ui inspector,我收到以下错误: 处理该命令时发生未知的服务器端错误。原始错误:您必须包含platformName功能 Appium版本(1.13) 未出现问题的最新Appium版本(如适用): 用于运行Appium的桌面操作系统/版本: 移动平台/测试版本:Galaxy s7 真实设备: Appium.app | exe: 在Appium上选择“使用ui检查器启动会话”时出错 期望能力检查员 "platformName ": "Andr

当我选择“启动会话”时,我无法从Appium启动ui inspector,我收到以下错误: 处理该命令时发生未知的服务器端错误。原始错误:您必须包含platformName功能

Appium版本(1.13) 未出现问题的最新Appium版本(如适用): 用于运行Appium的桌面操作系统/版本: 移动平台/测试版本:Galaxy s7 真实设备: Appium.app | exe:

在Appium上选择“使用ui检查器启动会话”时出错

期望能力检查员

"platformName ": "Android",
   "platformVersion": "9.0",
   "appPackage": "com.samsung.android.phonemessage",
   "appActivity": "com.android.phonemessage.ui.dialermessage",
   "deviceName": "Galaxy s7"
苹果原木

    base-driver/lib/basedriver/driver.js:319:19)
    [MJSONWP] at AppiumDriver.executeCommand (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/lib/appium.js:471:26)
    [MJSONWP] at executeCommand (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/protocol/protocol.js:352:34)
    [MJSONWP] at asyncHandler (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/protocol/protocol.js:489:15)
    [MJSONWP] at Layer.handle [as handle_request] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
    [MJSONWP] at next (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/route.js:137:13)
    [MJSONWP] at Route.dispatch (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/route.js:112:3)
    [MJSONWP] at Layer.handle [as handle_request] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
    [MJSONWP] at /Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:281:22
    [MJSONWP] at Function.process_params (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:335:12)
    [MJSONWP] at next (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
    [MJSONWP] at logger (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/morgan/index.js:144:5)
    [MJSONWP] at Layer.handle [as handle_request] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/layer.js:95:5)
    [MJSONWP] at trim_prefix (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:317:13)
    [MJSONWP] at /Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:284:7
    [MJSONWP] at Function.process_params (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:335:12)
    [MJSONWP] at next (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/express/lib/router/index.js:275:10)
    [MJSONWP] at /Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/body-parser/lib/read.js:130:5
    [MJSONWP] at invokeCallback (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/raw-body/index.js:224:16)
    [MJSONWP] at done (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/raw-body/index.js:213:7)
    [MJSONWP] at IncomingMessage.onEnd 





 (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/n     
    ode_modules/raw-body/index.js:273:7)
    [MJSONWP] at phonemessage.emit (events.js:182:13)
    [MJSONWP] at endReadableNT (_stream_readable.js:1090:12)
    [MJSONWP] at process._tickCallback 
    (internal/process/next_tick.js:63:19)
    [HTTP] <-- POST /wd/hub/session 500 5 ms - 179
    [HTTP]
    [HTTP] --> DELETE /wd/hub/session
    [HTTP] {}
    [HTTP] No route found. Setting content type to 'text/plain'
    [HTTP] <-- DELETE /wd/hub/session 404 1 ms - 57
    [HTTP]
base-driver/lib/basedriver/driver.js:319:19)
[MJSONWP]位于AppiumDriver.executeCommand(/Applications/Appium.app/Contents/Resources/app/node_modules/Appium/lib/Appium.js:471:26)
[MJSONWP]位于executeCommand(/Applications/Appium.app/Contents/Resources/app/node_modules/Appium/node_modules/Appium base driver/lib/protocol/protocol.js:352:34)
[MJSONWP]位于asyncHandler(/Applications/Appium.app/Contents/Resources/app/node_modules/Appium/node_modules/Appium base driver/lib/protocol/protocol.js:489:15)
[MJSONWP]位于Layer.handle[作为handle_请求](/Applications/Appium.app/Contents/Resources/app/node_modules/Appium/node_modules/express/lib/router/Layer.js:95:5)
[MJSONWP]下一步(/Applications/Appium.app/Contents/Resources/app/node_modules/Appium/node_modules/express/lib/router/route.js:137:13)
[MJSONWP]在Route.dispatch(/Applications/Appium.app/Contents/Resources/app/node_modules/Appium/node_modules/express/lib/router/Route.js:112:3)
[MJSONWP]位于Layer.handle[作为handle_请求](/Applications/Appium.app/Contents/Resources/app/node_modules/Appium/node_modules/express/lib/router/Layer.js:95:5)
[MJSONWP]at/Applications/Appium.app/Contents/Resources/app/node_modules/Appium/node_modules/express/lib/router/index.js:281:22
[MJSONWP]位于Function.process_参数(/Applications/Appium.app/Contents/Resources/app/node_modules/Appium/node_modules/express/lib/router/index.js:335:12)
[MJSONWP]下一步(/Applications/Appium.app/Contents/Resources/app/node_modules/Appium/node_modules/express/lib/router/index.js:275:10)
[MJSONWP]位于记录器(/Applications/Appium.app/Contents/Resources/app/node_modules/Appium/node_modules/morgan/index.js:144:5)
[MJSONWP]位于Layer.handle[作为handle_请求](/Applications/Appium.app/Contents/Resources/app/node_modules/Appium/node_modules/express/lib/router/Layer.js:95:5)
[MJSONWP]位于trim_前缀(/Applications/Appium.app/Contents/Resources/app/node_modules/Appium/node_modules/express/lib/router/index.js:317:13)
[MJSONWP]at/Applications/Appium.app/Contents/Resources/app/node_modules/Appium/node_modules/express/lib/router/index.js:284:7
[MJSONWP]位于Function.process_参数(/Applications/Appium.app/Contents/Resources/app/node_modules/Appium/node_modules/express/lib/router/index.js:335:12)
[MJSONWP]下一步(/Applications/Appium.app/Contents/Resources/app/node_modules/Appium/node_modules/express/lib/router/index.js:275:10)
[MJSONWP]at/Applications/Appium.app/Contents/Resources/app/node_modules/Appium/node_modules/body parser/lib/read.js:130:5
[MJSONWP]位于invokeCallback(/Applications/Appium.app/Contents/Resources/app/node_modules/Appium/node_modules/raw body/index.js:224:16)
[MJSONWP]完成时(/Applications/Appium.app/Contents/Resources/app/node_modules/Appium/node_modules/raw body/index.js:213:7)
[MJSONWP]在IncomingMessage.oned
(/Applications/Appium.app/Contents/Resources/app/node_modules/Appium/n
ode_模块/raw body/index.js:273:7)
[MJSONWP]位于phonemessage.emit(events.js:182:13)
[MJSONWP]位于endReadableNT(_stream_readable.js:1090:12)
[MJSONWP]在过程中。\u
(内部/流程/下一步_tick.js:63:19)
[HTTP]删除/wd/hub/session
[HTTP]{}
[HTTP]未找到路由。将内容类型设置为“文本/普通”

[HTTP]这是因为“platformName”的末尾有一个空格。删除它,它就会工作。

您可以添加完整的appium服务器日志吗?