android / android/camera-samples

CameraX crashed at Samsung S10 5G in "androidx.camera:camera-camera2:1.1.0-alpha02" version

Open
#360 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
5.5k
Forks
2.4k
PR merge metrics
No merged PRs in 30d

Description

in cameraX API, we have this "cameraProvider = cameraProviderFuture.get()". this line will lead app to crash when use "androidx.camera:camera-camera2:1.1.0-alpha02" at Samsung S10 5G.

but "cameraProvider = cameraProviderFuture.get()" is good when I use "androidx.camera:camera-camera2:1.1.0-alpha01" at Samsung S10 5G.

so, the bug is:

In Samsung S10 5G:
cameraProvider = cameraProviderFuture.get() crash when "androidx.camera:camera-camera2:1.1.0-alpha02"
cameraProvider = cameraProviderFuture.get() is ok when "androidx.camera:camera-camera2:1.1.0-alpha01"

please confirm this bug and fix it. thanks.

Contributor guide

Open the contributing guide

Research direction

Reproduce the reported cameraProviderFuture.get() crash on a Samsung S10 5G using androidx.camera:camera-camera2:1.1.0-alpha02, then compare it with 1.1.0-alpha01. Start by identifying the affected camera sample or entry point; done means confirming the failure and documenting or validating a fix for the alpha02 case.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.