Tang进入另一活动以扫描QR码时停止

时间:2018-11-20 05:49:59

标签: java android-studio opencv opengl-es google-project-tango

我正在开发一个应用程序,它是google Tango项目,当我启动另一个扫描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)

1 个答案:

答案 0 :(得分:1)

在移出场景之前调用mTango.disconnect();(mTango是Tango类的对象)可以防止崩溃。谢谢!