2016-06-21 3 views
0

Appium1.5にアップグレードしました。テストを実行してテストを実行すると、このエラーが表示されます。 設定を確認しても問題ありません。インスペクタでさえもうまく動作します。エラー:Appium 1.5.3にアップグレードした後でアクティブデバイスを検出できません。

[AndroidDriver]エラー:OS 1と能動デバイスまたはエミュレータを見つけることができません以下に入手可能である:192.168.99.101:5555 Object.wrappedLogger.errorAndThrow(LIB/logger.jsで(4.3) :60: 13) at Object.callee $ 0 $ 0 $(lib/android-helpers.js:154:16) at tryCatch(/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/babel-runtime/regenerator/)ランタイム.js:67:40) 、GeneratorFunctionPrototype.invoke [as _invoke](/Applications/Appium.app/Contents/Resources/node_modules/applications/node_modules/babel-runtime/regenerator/runtime.js:315:22) GeneratorFunctionPrototype.prototypeで(匿名関数)[次のように](/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/babel-runt ime/regenerator/runtime.js:100:21) (GeneratorFunctionPrototype.invoke)(/Applications/Appium.app/Contents/Resources/node_modules/babel-runtime/regenerator/runtime.js:136:37) 実行時(/アプリケーション/アプリケーション/アプリケーション/コンテンツ/リソース/ノード_モジュール/アプリケーション/ノード_モジュール/バーコード - 実行時間/ノード_モジュール/コア - js /ライブラリ/モジュール/ .app/Contents/Resources/node_modules/appium/node_modules/babel-runtime/node_modules/core-js/library/modules/es6.promise.js:115:28 at flush(/Applications/Appium.app/Contents/Resources) /combinedTickCallback(internal/process/next_tick.js:67:7)の の の処理時に/node_modules/appium/node_modules/babel-runtime/node_modules/core-js/library/modules/$.microtask.js:19:5) ._tickCallback(内部/プロセス/ next_tick.js:98:9) [エラー:OS 1のアクティブデバイスまたはエミュレータが見つかりません:192.168.99.101:5555(4.3)]

[MJSONWP]実行中の内部エラーコマンドが見つかりました:エラー:アクティブなデバイスが見つからない(lib/logger.js:60:13) (Object.callee $ 0 $ 0 $(lib/android))で、192.168.99.101:5555(4.3) をObject.wrappedLogger.errorAndThrowに配置します。 -helpers.js:154:16) at tryCatch(/アプリケーション/アプリケーション/アプリケーション/コンテンツ/ノードモジュール/アプリケーション/ノードモジュール/バーベル - ランタイム/ as_invoke](/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)GeneratorFunctionPrototype.prototypeの(匿名関数)[次へ](/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21) (GeneratorFunctionPrototype) invoke(/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37) 実行時(/Applications/Appium.app/Contents/Resources/node_modules/) /アプリケーション/アプリケーション/アプリケーション/コンテンツ/ネットワーク/モジュール/アプリケーション/ノードモジュール/バーベル - ランタイム/node_modules/core-js/library/modules/es6.promise.js:115:28 at flush(/アプリケーション/アプリケーション/アプリケーション/コンテンツ/リソース/ノードモジュール/アプリケーション/ノードモジュール/バーベル - ランタイム/ノードモジュール/library/modules/$.microtask.js:19:5)_combinedTickCallbackで(内部/プロセス/ next_tick.js:67:7)process._tickCallbackで (内部/プロセス/ next_tick.js:98:9)

答えて

-1

craj、それがADBの問題ではないかもしれappiumの cmdでadbデバイスを試してみましたか?あなたは、次のように機能として、プラットフォームのバージョンを指定する必要が

0

-

capabilities.setCapability(MobileCapabilityType.PLATFORM_VERSION, "7.1"); 

私のバージョンは

のために右であるバージョンを使用して、7.1であります
関連する問題