访问被拒绝“ persist.vendor.camera.privapp.list”

时间:2020-07-29 17:19:55

标签: android tensorflow

我正在完成以下教程,其中您在android应用中实现TensorFlow Lite模型: https://codelabs.developers.google.com/codelabs/recognize-flowers-with-tensorflow-on-android/#0

一切正常,除了在测试应用程序时出现以下错误消息并且我的模型无法识别图像之外。

E/libc: Access denied finding property "persist.vendor.camera.privapp.list"
W/.classification: type=1400 audit(0.0:45214): avc: denied { read } for name="u:object_r:persist_camera_prop:s0" dev="tmpfs" ino=17052 scontext=u:r:untrusted_app_27:s0:c88,c256,c512,c768 tcontext=u:object_r:persist_camera_prop:s0 tclass=file permissive=0
I/tensorflow: CameraConnectionFragment: Opening camera preview: 640x480
W/BpBinder: Slow Binder: BpBinder transact took 213ms, interface=android.hardware.camera2.ICameraDeviceUser, code=6 oneway=false
W/Gralloc3: allocator 3.x is not supported
D/tensorflow: CameraActivity: Initializing buffer 0 at size 307200
D/tensorflow: CameraActivity: Initializing buffer 1 at size 153599
    CameraActivity: Initializing buffer 2 at size 153599
W/ImageReader_JNI: Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
W/ImageReader_JNI: Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers

以前有人遇到过这个问题吗?我正在使用Xiaomi Redmi Note 9 Pro测试该应用。

0 个答案:

没有答案
相关问题