请问下我再 appium for windows1.0 版本上运行脚本通过,为什么在 appium For windows 1.1 报错
错误信息:
info: Non-default server args: {"address":"127.0.0.1","logNoColors":true,"platformName":"Android","platformVersion":"19","automationName":"Appium"}
info: No appActivity desired capability or server param. Parsing from apk.
ERROR: debug: Appium request initiated at /wd/hub/session
ERROR: debug: Request received with params: {"desiredCapabilities":{"app":"chrome","device":"Android"}}
ERROR: error: Using local app, but didn't end in .zip, .ipa or .apk
ERROR: error: Failed to start an Appium session, err was: Error: Bad app: E:\Appium\node_modules\appium\chrome. App paths need to be absolute, or relative to the appium server install dir, or a URL to compressed file, or a special app name. cause: Error: Using local app, but didn't end in .zip, .ipa or .apk
info: No appPackage desired capability or server param. Parsing from apk.
info: Got configuration error, not starting session
info: Cleaning up appium session
info: Error: Bad app: E:\Appium\node_modules\appium\chrome. App paths need to be absolute, or relative to the appium server install dir, or a URL to compressed file, or a special app name. cause: Error: Using local app, but didn't end in .zip, .ipa or .apk
at null. (E:\Appium\node_modules\appium\lib\devices\android\android-common.js:57:13)
at Device.configureLocalApp (E:\Appium\node_modules\appium\lib\devices\device.js:85:5)
at Device.configureApp (E:\Appium\node_modules\appium\lib\devices\device.js:56:10)
at androidCommon.configureApp (E:\Appium\node_modules\appium\lib\devices\android\android-common.js:72:35)
at androidCommon.configure (E:\Appium\node_modules\appium\lib\devices\android\android-common.js:38:10)
at Appium.configure (E:\Appium\node_modules\appium\lib\appium.js:268:15)
at Appium.start (E:\Appium\node_modules\appium\lib\appium.js:102:10)
at exports.createSession (E:\Appium\node_modules\appium\lib\server\controller.js:155:16)
at callbacks (E:\Appium\node_modules\appium\node_modules\express\lib\router\index.js:164:37)
at param (E:\Appium\node_modules\appium\node_modules\express\lib\router\index.js:138:11)
info: Responding to client with error: {"status":33,"value":{"message":"A new session could not be created. (Original error: Bad app: E:\Appium\node_modules\appium\chrome. App paths need to be absolute, or relative to the appium server install dir, or a URL to compressed file, or a special app name. cause: Error: Using local app, but didn't end in .zip, .ipa or .apk)","origValue":"Bad app: E:\Appium\node_modules\appium\chrome. App paths need to be absolute, or relative to the appium server install dir, or a URL to compressed file, or a special app name. cause: Error: Using local app, but didn't end in .zip, .ipa or .apk"},"sessionId":null}
POST /wd/hub/session 500 44ms - 644b