出现了一个奇怪的问题,我用小米手机(4.4.4 版本)运行成功了,使用三星的手机(4.4.2 版本)就出现了下面的问题
info: [debug] Logcat terminated with code 0, signal null
info: [debug] Stopping logcat capture
info: [debug] Logcat already stopped
info: [debug] Sent shutdown command, waiting for UiAutomator to stop...
warn: UiAutomator did not shut down fast enough, calling it gone
error: Failed to start an Appium session, err was: Error: Command failed: protocol failureinfo: [debug] Cleaning up android objects
info: [debug] Cleaning up appium session
info: [debug] Error: Command failed: protocol failureat ChildProcess.exithandler (child_process.js:637:15)
at ChildProcess.EventEmitter.emit (events.js:98:17)
at maybeClose (child_process.js:743:16)
at Process.ChildProcess._handle.onexit (child_process.js:810:5)
info: [debug] Responding to client with error: {"status":33,"value":{"message":"A new session could not be created. (Original error: Command failed: protocol failure\r\n)","killed":false,"code":1,"signal":null,"origValue":"Command failed: protocol failure\r\n"},"sessionId":null}
info: <-- POST /wd/hub/session 500 32052.382 ms - 232