2016-11-21 26 views
12

を実行しながら、私たちは到達不能エラーを生成セレングリッドポートに対してドライバを起動中にセレングリッドのための新しいアムセレングリッドに必要な機能を求めていました:不正なパラメータ:BadParametersError:パラメータが正しくありませんでした。 Appium

[email protected]:/$ **appium -a 127.0.0.1 -p 33431 -bp 2254 --udid 4100fd5a18d17000 --session-override** [Appium] Welcome to Appium v1.5.3 (REV 55db1892873be30aebbb9afe1adcd36a94d1a450) 
[Appium] Non-default server args: [Appium] address: '127.0.0.1' 
[Appium]  port: 33431 [Appium] bootstrapPort: 2254 [Appium]  
sessionOverride: true [Appium] udid: '4100fd5a18d17000' [Appium] 
Deprecated server args: [Appium] -U,--udid => 
--default-capabilities '{"udid":"4100fd5a18d17000"}' [Appium] Default capabilities, which will be added to each request unless overridden 
by desired capabilities: [Appium] udid: '4100fd5a18d17000' [Appium] 
Appium REST http interface listener started on 127.0.0.1:**33431** 
[HTTP] --> POST /wd/hub/session 
{"capabilities":{"desiredCapabilities":{"app":"/home/ionixx/Android/Sdk/platform-tools/xxxxxxxxxxxx.apk","appPackage":" 
cxxxxxxxxxxxxxxxx","appActivity":"xxxxxxxxxxxxxx","noReset":"true","newCommandTimeout":500000,"BROWSER_NAME":"","VERSION":"4.4.2","platformName":"Android","deviceName":"Nexas"},"requiredCapabilities":null},"desiredCapabilities":{"app":"/home/ionixx/Android/Sdk/platform-tools/xxxxxxxx.apk","appPackage":" 
xxxxxxxxxxxxxxxxx","appActivity":"xxxxxxxxxx","noReset":"true","newCommandTimeout":500000,"BROWSER_NAME":"","VERSION":"4.4.2","platformName":"Android","deviceName":"Nexas"},"requiredCapabilities":null} 
[debug] [MJSONWP] **Bad parameters: BadParametersError: Parameters 
were incorrect. We wanted 
{"required":["desiredCapabilities"],"optional":["requiredCapabilities","sessionId","id"]} 
and you sent 
["capabilities","desiredCapabilities","requiredCapabilities"]** 
[HTTP] <-- POST /wd/hub/session 400 7 ms - 201 [HTTP] --> POST 
/wd/hub/session 
{"capabilities":{"desiredCapabilities":{"app":"/home/ionixx/Android/Sdk/platform-toolsxxxxxxxxxxxx.apk","appPackage":" 
xxxxxxxxxxxxxxxx","appActivity":"xxxxxxxxxxxxxxxxxxxx","noReset":"true","newCommandTimeout":500000,"BROWSER_NAME":"","VERSION":"4.4.2","platformName":"Android","deviceName":"Nexas"},"requiredCapabilities":null}} 
+0

このエラーが発生しました。新しいリモートセッションを作成できません。望ましい能力=能力...必要な能力=能力[{}] – Emna

+0

あなたはそれを解決しましたか? – Emna

+0

有効なパスを変更した後、無効なapkファイルのパスが原因で問題が発生しました。 – Thangaraj

答えて

0

私はそれがあることになります、アプリケーションを変更することで、この問題を解決しました問題は私が使用している古いapkファイルから来た!

関連する問題