Skip to content

Cannot access camera with the Haishinkit's Camera2Source ( E/libc: Access denied finding property "vendor.camera.aux.packagelist" ) #89

Answered by h-rlpl
h-rlpl asked this question in Q&A
Discussion options

You must be logged in to vote

After further tests, I found that the following lines are the one which is causing the app crash. So I commented these in the MainActivity and now app works as expected without any crash

    if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
        PixelTransformFactory.registerPixelTransform(VkPixelTransform::class)
    }
    
   Camera(Front/Rear) is now accessible. Although the error "E/libc: Access denied finding property "vendor.camera.aux.packagelist" keeps printing on logcat everytime when app launched,  it isnt leading to any app crash now.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
2 replies
@h-rlpl
Comment options

@h-rlpl
Comment options

Comment options

You must be logged in to vote
1 reply
@shogo4405
Comment options

Answer selected by shogo4405
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants