我在Android中使用Camera 2 API时遇到了问题。我正在使用Android Studio进行原生开发。当我在TextureView上使用相机时,一切正常,但是当我尝试拍照时,它就无法工作。我遵循了官方Camera 2 API GitHub页面上的Kotlin Basic Example示例。我在打开相机活动时查看了Logcat:
2018-11-14 09:37:59.963 4009-4009/sayurbox.com.oms E/libc: Access denied finding property "persist.camera.privapp.list"
2018-11-14 09:37:59.965 4009-4958/sayurbox.com.oms E/libc: Access denied finding property "camera.hal1.packagelist"
2018-11-14 09:38:00.166 4009-5002/sayurbox.com.oms E/libc: Access denied finding property "persist.camera.legacy_perf"
2018-11-14 09:38:01.971 4009-4957/sayurbox.com.oms E/RequestQueue: cancel failed: no repeating request exists.