'Android CameraKit Access denied finding property "vendor.debug.bq.dump"
I am using CameraKit (https://camerakit.io/docs#basicusage) in my application to launch the camera. Installed the code as it is indicated in the official documentation. When starting the camera, I get a black screen and an error (errors start with E/) :
D/MainActivity: onCreateView:
D/ForceDarkHelper: updateByCheckExcludeList: pkg: com.example.androidapp activity: com.example.androidapp.MainActivity@df7e24a
D/ForceDarkHelper: updateByCheckExcludeList: pkg: com.example.androidapp activity: com.example.androidapp.MainActivity@df7e24a
I/mple.androidap: Thread[1,tid=3328,Native,Thread*=0x7a1b27e000,peer=0x7630d098,"main"] recursive attempt to load library "/data/app/com.example.androidapp-0OeoUW_VNxDyHND4FSSEFw==/lib/arm64/libcamerakit.so"
D/ForceDarkHelper: updateByCheckExcludeList: pkg: com.example.androidapp activity: com.example.androidapp.MainActivity@df7e24a
D/SurfaceView: UPDATE null, mIsCastMode = false
D/ViewRootImpl: setSurfaceViewCreated, created:true
D/Surface: Surface::connect(this=0x7984c67000,api=1)
D/mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
I/BufferQueue: [unnamed-3328-0](this:0x792ae5f000,id:0,api:0,p:-1,c:-1) BufferQueue core=(3328:com.example.androidapp)
W/com.example.androidapp: type=1400 audit(0.0:227649): avc: denied { read } for comm=474C546872656164203138363239 name="u:object_r:debug_bq_dump_prop:s0" dev="tmpfs" ino=104 scontext=u:r:untrusted_app:s0:c207,c257,c512,c768 tcontext=u:object_r:debug_bq_dump_prop:s0 tclass=file permissive=0
E/libc: Access denied finding property "vendor.debug.bq.dump"
I/BufferQueueConsumer: [unnamed-3328-0](this:0x792ae5f000,id:0,api:0,p:-1,c:3328) connect(C): consumer=(3328:com.example.androidapp) controlledByApp=true
E/libc: Access denied finding property "vendor.debug.bq.dump"
W/com.example.androidapp: type=1400 audit(0.0:227650): avc: denied { read } for comm=474C546872656164203138363239 name="u:object_r:debug_bq_dump_prop:s0" dev="tmpfs" ino=104 scontext=u:r:untrusted_app:s0:c207,c257,c512,c768 tcontext=u:object_r:debug_bq_dump_prop:s0 tclass=file permissive=0
I/BufferQueueConsumer: [unnamed-3328-0](this:0x792ae5f000,id:0,api:0,p:-1,c:3328) setConsumerName: unnamed-3328-0
E/libc: Access denied finding property "vendor.debug.bq.dump"
I/BufferQueueConsumer: [SurfaceTexture-1-3328-0](this:0x792ae5f000,id:0,api:0,p:-1,c:3328) setConsumerName: SurfaceTexture-1-3328-0
W/com.example.androidapp: type=1400 audit(0.0:227651): avc: denied { read } for comm=474C546872656164203138363239 name="u:object_r:debug_bq_dump_prop:s0" dev="tmpfs" ino=104 scontext=u:r:untrusted_app:s0:c207,c257,c512,c768 tcontext=u:object_r:debug_bq_dump_prop:s0 tclass=file permissive=0
I also tried to use another library https://github.com/RedApparat/Fotoapparat and faced the same error. The error is reproduced on two Xiaomi Redmi 9 and Redmi 10 phones.
I could not find any real information on the Internet and I ask for help in understanding where I should go in general.
What is:
E/libc: Access denied finding property "vendor.debug.bq.dump"
I give access to work with the camera in the application during installation (first login).
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
