appium 報錯
2018-11-27 18:05:56:313 - [Logcat] Logcat terminated with code 0, signal null
2018-11-27 18:05:56:314 - [UiAutomator] UiAutomator exited unexpectedly with code 0, signal null
2018-11-27 18:05:56:314 - [debug] [UiAutomator] Moving to state 'stopped'
Unhandled rejection Error: UiAUtomator shut down unexpectedly
at AndroidBootstrap.callee$2$0$ (/usr/local/lib/node_modules/appium/node_modules/[email protected]@appium-android-bootstrap/lib/bootstrap.js:187:42)
at tryCatch (/usr/local/lib/node_modules/appium/node_modules/[email protected]@babel-runtime/regenerator/runtime.js:67:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (/usr/local/lib/node_modules/appium/node_modules/
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/usr/local/lib/node_modules/appium/node_modules/[email protected]@babel-runtime/regenerator/runtime.js:100:21)
at invoke (/usr/local/lib/node_modules/appium/node_modules/
at enqueueResult (/usr/local/lib/node_modules/appium/node_modules/_b[email protected]@babel-runtime/regenerator/runtime.js:185:17)
at new Promise (<anonymous>)
at new F (/usr/local/lib/node_modules/appium/node_modules/[email protected]@core-js/library/modules/$.export.js:30:36)
at AsyncIterator.enqueue (/usr/local/lib/node_modules/appium/node_modules/[email protected]@babel-runtime/regenerator/runtime.js:184:12)
at AsyncIterator.prototype.(anonymous function) [as next] (/usr/local/lib/node_modules/appium/node_modules/[email protected]@babel-runtime/regenerator/runtime.js:100:21)
at Object.runtime.async (/usr/local/lib/node_modules/appium/node_modules/[email protected]@babel-runtime/regenerator/runtime.js:209:12)
at UiAutomator.callee$2$0 (/usr/local/lib/node_modules/appium/node_modules/[email protected]@appium-android-bootstrap/build/lib/bootstrap.js:356:42)
at emitOne (events.js:116:13)
at UiAutomator.emit (events.js:211:7)
at UiAutomator.changeState (/usr/local/lib/node_modules/appium/node_modules/[email protected]@appium-android-bootstrap/lib/uiautomator.js:87:10)
at SubProcess.<anonymous> (/usr/local/lib/node_modules/appium/node_modules/[email protected]@appium-android-bootstrap/lib/uiautomator.js:47:14)
at emitTwo (events.js:126:13)
at SubProcess.emit (events.js:214:7)
at ChildProcess.<anonymous> (/usr/local/lib/node_modules/appium/node_modules/[email protected]@teen_process/lib/subprocess.js:136:14)
at emitTwo (events.js:126:13)
at ChildProcess.emit (events.js:214:7)
at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)