camera-samples icon indicating copy to clipboard operation
camera-samples copied to clipboard

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

Open DJSeokHo opened this issue 4 years ago • 3 comments

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.

DJSeokHo avatar Mar 05 '21 04:03 DJSeokHo

I am seeing the same issue with Samsung Galaxy S20+ 5G and Samsung Galaxy Note10+ 5G.

joey-harward avatar Mar 06 '21 18:03 joey-harward

I am seeing this issue as well with users on device LG V60: Caused by java.util.concurrent.ExecutionException androidx.camera.core.InitializationException: java.lang.RuntimeException: Error retrieving camcorder profile params (using androidx.camera:camera-camera2:1.0.0-rc03)

mobee-bill avatar Mar 16 '21 13:03 mobee-bill

i solved it on the next way. Choose max resolution before shooting and at moment of shooting press button and keep finger about 7 second.

andreyvatoropinit avatar Mar 23 '21 12:03 andreyvatoropinit