我正在开发一个应用程序,它是Google Tango项目,当我启动另一个 Activity 以扫描QR Code Tango停止并且在logcat中显示以下错误时:-
11-20 10:31:17.247 548-13246/? E/Camera3-Device: RequestThread: Can't get output buffer, skipping request: Broken pipe (-32)
11-20 10:31:17.247 548-13246/? E/Camera3-OutputStream: getBufferLocked: Stream 0: Can't dequeue next output buffer: Broken pipe (-32)
最佳答案
在移出场景之前调用mTango.disconnect();(mTango是Tango类的对象)可以防止崩溃。谢谢!