【问题标题】:Tang stops When Entering to another activity for scanning QR CodeTang 在进入另一个扫描二维码的活动时停止
【发布时间】:2019-04-22 12:59:20
【问题描述】:

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

【问题讨论】:

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


    【解决方案1】:

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

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多