求解:appium运行报错
期望结果:> info: Welcome to Appium v1.4.16 (REV ae6877eff263066b26328d457bd285c0cc62430d)
> info: Appium REST http interface listener started on 127.0.0.1:4723
>info: Non-default server args: {"address":"127.0.0.1","logNoColors":true,"platformName":"Android","platformVersion":"19","automationName":"Appium"}
> info: Console LogLevel: debug
实际结果:
> Checking if an update is available
> Update not available
> Launching Appium server with command: F:\Appium\ios&Android\Zip\zip\AppiumForWindows_1_4_16_1\Appium\node.exe lib\server\main.js --address 127.0.0.1 --port 4723 --app--platform-name Android --platform-version 23 --automation-name Appium --log-no-color
> usage: main.js [-h] [-v] [--shell]
> main.js: error: argument "--app": Expected one argument. null
> [--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:info,error:warn,error:error,debug,debug:debug,debug:info,debug:warn,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] [--browser-name BROWSERNAME]
> [--default-device] [--force-iphone] [--force-ipad]
> [--language LANGUAGE] [--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 server process ended
启动的参数不对吧
具体不知道
页:
[1]