{"action":"opened","issue":{"url":"https://api.github.com/repos/tensorflow/tensorflow/issues/534","labels_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/534/labels{/name}","comments_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/534/comments","events_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/534/events","html_url":"https://github.com/tensorflow/tensorflow/issues/534","id":122797205,"number":534,"title":"Android Example SurfaceTextureRenderer","user":{"login":"gitunit","id":6443378,"avatar_url":"https://avatars.githubusercontent.com/u/6443378?v=3","gravatar_id":"","url":"https://api.github.com/users/gitunit","html_url":"https://github.com/gitunit","followers_url":"https://api.github.com/users/gitunit/followers","following_url":"https://api.github.com/users/gitunit/following{/other_user}","gists_url":"https://api.github.com/users/gitunit/gists{/gist_id}","starred_url":"https://api.github.com/users/gitunit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gitunit/subscriptions","organizations_url":"https://api.github.com/users/gitunit/orgs","repos_url":"https://api.github.com/users/gitunit/repos","events_url":"https://api.github.com/users/gitunit/events{/privacy}","received_events_url":"https://api.github.com/users/gitunit/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-17T18:42:06Z","updated_at":"2015-12-17T18:42:06Z","closed_at":null,"body":"i've build the app with **sdk** = 23 and **ndk** = 21 and installed the apk on a nexus 4.\r\n*sometimes it works* but often the camera preview is visible but without results on the top.\r\n\r\nlooking into Android Monitor, i get the following error message in case when the app doesn't work:\r\n\r\n```\r\n12-17 19:22:08.802 30054-30283/org.tensorflow.demo E/BufferQueueProducer: [unnamed-30054-2] dequeueBuffer: BufferQueue has been abandoned\r\n12-17 19:22:08.802 30054-30283/org.tensorflow.demo E/Legacy-CameraDevice-JNI: LegacyCameraDevice_nativeProduceFrame: Error while producing frame No such device (-19).\r\n12-17 19:22:08.803 30054-30283/org.tensorflow.demo W/SurfaceTextureRenderer: Surface abandoned, dropping frame. \r\n                                                                             android.hardware.camera2.legacy.LegacyExceptionUtils$BufferQueueAbandonedException\r\n                                                                                 at android.hardware.camera2.legacy.LegacyExceptionUtils.throwOnError(LegacyExceptionUtils.java:64)\r\n                                                                                 at android.hardware.camera2.legacy.LegacyCameraDevice.produceFrame(LegacyCameraDevice.java:583)\r\n                                                                                 at android.hardware.camera2.legacy.SurfaceTextureRenderer.drawIntoSurfaces(SurfaceTextureRenderer.java:752)\r\n                                                                                 at android.hardware.camera2.legacy.GLThreadManager$1.handleMessage(GLThreadManager.java:105)\r\n                                                                                 at android.os.Handler.dispatchMessage(Handler.java:98)\r\n                                                                                 at android.os.Looper.loop(Looper.java:135)\r\n                                                                                 at android.os.HandlerThread.run(HandlerThread.java:61)\r\n```"}}