appium 启动报错 Error: stdout maxBuffer exceeded,appium 版本 1.4.0、 1.4.13 、 1.4.16 均存在这问题,报错信息如下(急求解决):
...

info: [debug] [UIAUTOMATOR STDOUT] Time: 0.57
info: [debug] [UIAUTOMATOR STDOUT] OK (1 test)
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS_CODE: -1
info: [debug] UiAutomator shut down normally
error: Failed to start an Appium session, err was: Error: stdout maxBuffer exceeded.
info: [debug] Cleaning up android objects
info: [debug] Cleaning up appium session
info: [debug] Error: stdout maxBuffer exceeded.
at Socket. (child_process.js:678:13)
at Socket.EventEmitter.emit (events.js:95:17)
at Socket. (stream_readable.js:746:14)
at Socket.EventEmitter.emit (events.js:92:17)
at emitReadable
(_stream_readable.js:408:10)
at emitReadable (_stream_readable.js:404:5)
at readableAddChunk (_stream_readable.js:165:9)
at Socket.Readable.push (_stream_readable.js:127:10)
at Pipe.onread (net.js:528:21)
info: [debug] Responding to client with error: {"status":33,"value":{"message":"A new session could not be created. (Original error: stdout maxBuffer exceeded.)","origValue":"stdout maxBuffer exceeded."},"sessionId":null}
info: <-- POST /wd/hub/session 500 11951.160 ms - 174


↙↙↙阅读原文可查看相关链接,并与作者交流