Appium
困惑好几天的问题:error: Failed to start an Appium session, err was: Error: The following desired capabilities are required, but were not provided: platformName 怎么就解决啊!!!
使用的是 appium-1.2 的在运行脚本的时候报这个错:error: Failed to start an Appium session, err was: Error: The following desired capabilities are required, but were not provided: platformName;具体如下:
求大神解答!!!!!
info: --> POST /wd/hub/session {"desiredCapabilities":{"platformName":"Android","deviceName":"Genymotion","appPackage":"Package_name","appActivity":"Activity_name","app":"apk_path"}}
info: Client User-Agent string: appium/ruby_lib/7.0.0
error: Trying to run a session for device 'android' but that device hasn't been configured. Run config