需要将Appium与Genymotion Emmulator集成,在启动Appium服务器时面临问题。

时间:2017-04-05 06:40:19

标签: android debugging android-intent

我已经安装了Genymotion并在appium中执行设置并运行播放按钮,但在appium server cmd中显示以下问题。另外,当我们在CMD中执行adb -s 192.168.71.101.5555 reboot命令时,它会提供或显示错误:device' 192.168.71.101.5555'设备未找到问题。

请建议我。

  

使用以下命令启动Appium服务器:C:\ Program Files(x86)\ Appium \ node.exe lib \ server \ main.js --address 127.0.0.1 --port 4723 - 浏览器名称Chrome --avd Samsung Galaxy Note 3 - 4.4.4 - API 19 - 1080x1920 --no-reset --platform-name Android --platform-version 20 --automation-name Appium --log-no-color   main.js:错误:无法识别的参数:Galaxy Note 3 - 4.4.4 - API 19 - 1080x1920。   用法:main.js [-h] [-v] [--shell]                  [--localizable-strings-dir LOCALIZABLESTRINGSDIR] [--app APP]                  [--ipa IPA] [-U UDID] [-a ADDRESS] [-p PORT]                  [-ca CALLBACKADDRESS] [-cp CALLBACKPORT] [-bp BOOTSTRAPPORT]                  [-k] [-r BACKENDRETRIES] [--session-override] [--full-reset]                  [--no-reset] [-l] [-lt LAUNCHTIMEOUT] [-g LOG]                  [--log-level {info,info:debug,info:info,info:warn,info:error,warn,warn:debug,warn:info,warn:warn,warn:error,error,error:debug,error :信息,错误:警告,错误:错误,调试,调试:调试,调试:信息,调试:警告,调试:错误}]                  [--log-timestamp] [--local-timezone] [--log-no-colors]                  [-G WEBHOOK] [--native-instruments-lib]                  [--app-pkg ANDROIDPACKAGE] [--app-activity ANDROIDACTIVITY]                  [--app-wait-package ANDROIDWAITPACKAGE]                  [--app-wait-activity ANDROIDWAITACTIVITY]                  [--android-coverage ANDROIDCOVERAGE] [ - avd AVD]                  [--avd-args AVDARGS]                  [--device-ready-timeout ANDROIDDEVICEREADYTIMEOUT] [--safari]                  [--device-name DEVICENAME] [--platform-name PLATFORMNAME]                  [--platform-version PLATFORMVERSION]                  [--automation-name AUTOMATIONNAME] [ - 浏览者名称BROWSERNAME]                  [--default-device] [--force-iphone] [--force-ipad]                  [ - 语言语言] [--locale LOCALE]                  [--calendar-format CALENDARFORMAT] [--orientation ORIENTATION]                  [--tracetemplate AUTOMATIONTRACETEMPLATEPATH]                  [--instruments INSTRUMENTSPATH] [--show-sim-log]                  [--show-ios-log] [--nodeconfig NODECONFIG] [-ra ROBOTADDRESS]                  [-rp ROBOTPORT] [--selendroid-port SELENDROIDPORT]                  [ - chromedriver-port CHROMEDRIVERPORT]                  [--chromedriver-executable CHROMEDRIVEREXECUTABLE]                  [--use-keystore] [--keystore-path KEYSTOREPATH]                  [--keystore-password KEYSTOREPASSWORD] [--key-alias KEYALIAS]                  [--key-password KEYPASSWORD] [--show-config] [--no-perms-check]                  [--command-timeout DEFAULTCOMMANDTIMEOUT] [--keep-keychains]                  [--strict-caps] [--isolate-sim-device] [--tmp TMPDIR]                  [--trace-dir TRACEDIR] [ - intent-action INTENTACTION]                  [--intent-category INTENTCATEGORY] [--intent-flags INTENTFLAGS]                  [--intent-args OPTIONALINTENTARGUMENTS]                  [--dont-stop-app-on-reset] [--debug-log-spacing]                  [--suppress-adb-kill-server] [--async-trace]

     

Appium服务器进程已结束   使用以下命令启动Appium服务器:C:\ Program Files(x86)\ Appium \ node.exe lib \ server \ main.js --address 127.0.0.1 --port 4723 - 浏览器名称Chrome --avd Samsung Galaxy Note 3 - 4.4.4 - API 19 - 1080x1920 --no-reset --platform-name Android --platform-version 20 --automation-name Appium --log-no-color   用法:main.js [-h] [-v] [--shell]                  [--localizable-strings-dir LOCALIZABLESTRINGSDIR] [--app APP]                  [--ipa IPA] [-U UDID] [-a ADDRESS] [-p PORT]                  [-ca CALLBACKADDRESS] [-cp CALLBACKPORT] [-bp BOOTSTRAPPORT]                  [-k] [-r BACKENDRETRIES] [--session-override] [--full-reset]                  [--no-reset] [-l] [-lt LAUNCHTIMEOUT] [-g LOG]                  [--log-level {info,info:debug,info:info,info:warn,info:error,warn,warn:debug,warn:info,warn:warn,warn:error,error,error:debug,error :信息,错误:警告,错误:错误,调试,调试:调试,调试:信息,调试:警告,调试:错误}]                  [--log-timestamp] [--local-timezone] [--log-no-colors]                  [-G WEBHOOK] [--native-instruments-lib]                  [--app-pkg ANDROIDPACKAGE] [--app-activity ANDROIDACTIVITY]                  [--app-wait-package ANDROIDWAITPACKAGE]                  [--app-wait-activity ANDROIDWAITACTIVITY]                  [--android-coverage ANDROIDCOVERAGE] [ - avd AVD]                  [--avd-args AVDARGS]                  [--device-ready-timeout ANDROIDDEVICEREADYTIMEOUT] [--safari]                  [--device-name DEVICENAME] [--platform-name PLATFORMNAME]                  [--platform-version PLATFORMVERSION]                  [--automation-name AUTOMATIONNAME] [ - 浏览者名称BROWSERNAME]                  [--default-device] [--force-iphone] [--force-ipad]                  [ - 语言语言] [--locale LOCALE]                  [--calendar-format CALENDARFORMAT] [--orientation ORIENTATION]                  [--tracetemplate AUTOMATIONTRACETEMPLATEPATH]                  [--instruments INSTRUMENTSPATH] [--show-sim-log]                  [--show-ios-log] [--nodeconfig NODECONFIG] [-ra ROBOTADDRESS]                  [-rp ROBOTPORT] [--selendroid-port SELENDROIDPORT]                  [ - chromedriver-port CHROMEDRIVERPORT]                  [--chromedriver-executable CHROMEDRIVEREXECUTABLE]                  [--use-keystore] [--keystore-path KEYSTOREPATH]                  [--keystore-password KEYSTOREPASSWORD] [--key-alias KEYALIAS]                  [--key-password KEYPASSWORD] [--show-config] [--no-perms-check]                  [--command-timeout DEFAULTCOMMANDTIMEOUT] [--keep-keychains]                  [--strict-caps] [--isolate-sim-device] [--tmp TMPDIR]                  [--trace-dir TRACEDIR] [ - intent-action INTENTACTION]                  [--intent-category INTENTCATEGORY] [--intent-flags INTENTFLAGS]                  [--intent-args OPTIONALINTENTARGUMENTS]                  [--dont-stop-app-on-reset] [--debug-log-spacing]                  [--suppress-adb-kill-server] [--async-trace]

     

Appium服务器进程已结束

1 个答案:

答案 0 :(得分:0)

嗨最近,我使用了genymotion和appium并且运行良好 检查bois设置我有同样的问题去bois并检查多核是启用还是不工作按照

1 - 我已经安装了appium(我已经成功尝试了Windows和控制台版本)

2 - 我已经安装了genymotion并在其中创建了一个虚拟设备

来自genymotion的3次启动虚拟设备

4 - 在我的测试中,当我定义了驱动程序功能时,我没有识别出特定的虚拟设备,因此,appium尝试识别任何活动设备(虚拟或非虚拟)

尝试一下,让我知道是否可以帮助我做任何事情