hello, now, mix2 still have the problem(beta-08).
logcat:
2020-09-09 17:19:14.894 18604-634/com.indictionary.translate E/libc: Access denied finding property "persist.camera.legacy_perf" 2020-09-09 17:19:14.938 18604-634/com.indictionary.translate E/libc: Access denied finding property "persist.camera.legacy_perf" 2020-09-09 17:19:15.733 18604-634/com.indictionary.translate E/libc: Access denied finding property "persist.camera.legacy_perf" 2020-09-09 17:19:15.784 18604-634/com.indictionary.translate E/libc: Access denied finding property "persist.camera.legacy_perf" 2020-09-09 17:19:16.358 18604-634/com.indictionary.translate E/libc: Access denied finding property "persist.camera.legacy_perf" 2020-09-09 17:19:16.395 18604-634/com.indictionary.translate E/libc: Access denied finding property "persist.camera.legacy_perf" 2020-09-09 17:19:17.207 18604-634/com.indictionary.translate E/libc: Access denied finding property "persist.camera.legacy_perf" 2020-09-09 17:19:17.244 18604-634/com.indictionary.translate E/libc: Access denied finding property "persist.camera.legacy_perf" 2020-09-09 17:19:17.982 18604-634/com.indictionary.translate E/libc: Access denied finding property "persist.camera.legacy_perf" 2020-09-09 17:19:18.027 18604-634/com.indictionary.translate E/libc: Access denied finding property "persist.camera.legacy_perf" 2020-09-09 17:19:18.834 18604-634/com.indictionary.translate E/libc: Access denied finding property "persist.camera.legacy_perf" 2020-09-09 17:19:18.881 18604-634/com.indictionary.translate E/libc: Access denied finding property "persist.camera.legacy_perf" 2020-09-09 17:19:19.542 18604-634/com.indictionary.translate E/libc: Access denied finding property "persist.camera.legacy_perf" 2020-09-09 17:19:19.599 18604-634/com.indictionary.translate E/libc: Access denied finding property "persist.camera.legacy_perf" 2020-09-09 17:19:20.133 18604-634/com.indictionary.translate E/libc: Access denied finding property "persist.camera.legacy_perf" 2020-09-09 17:19:20.211 18604-634/com.indictionary.translate E/libc: Access denied finding property "persist.camera.legacy_perf" 2020-09-09 17:19:20.808 18604-634/com.indictionary.translate E/libc: Access denied finding property "persist.camera.legacy_perf" 2020-09-09 17:19:20.874 18604-634/com.indictionary.translate E/libc: Access denied finding property "persist.camera.legacy_perf" 2020-09-09 17:19:21.297 18604-634/com.indictionary.translate E/libc: Access denied finding property "persist.camera.legacy_perf" 2020-09-09 17:19:21.335 18604-634/com.indictionary.translate E/libc: Access denied finding property "persist.camera.legacy_perf" 2020-09-09 17:19:21.883 18604-634/com.indictionary.translate E/libc: Access denied finding property "persist.camera.legacy_perf" 2020-09-09 17:19:24.542 18604-634/com.indictionary.translate E/libc: Access denied finding property "persist.camera.legacy_perf" 2020-09-09 17:19:24.615 18604-634/com.indictionary.translate E/libc: Access denied finding property "persist.camera.legacy_perf" 2020-09-09 17:19:25.208 18604-634/com.indictionary.translate E/libc: Access denied finding property "persist.camera.legacy_perf" 2020-09-09 17:19:25.275 18604-634/com.indictionary.translate E/libc: Access denied finding property "persist.camera.legacy_perf" 2020-09-09 17:19:25.825 18604-634/com.indictionary.translate E/libc: Access denied finding property "persist.camera.legacy_perf" 2020-09-09 17:19:28.046 18604-2677/com.indictionary.translate E/libc: Access denied finding property "persist.camera.legacy_perf" 2020-09-09 17:19:28.089 18604-2677/com.indictionary.translate E/libc: Access denied finding property "persist.camera.legacy_perf" 2020-09-09 17:19:28.684 18604-2677/com.indictionary.translate E/libc: Access denied finding property "persist.camera.legacy_perf" 2020-09-09 17:19:28.713 18604-2677/com.indictionary.translate E/libc: Access denied finding property "persist.camera.legacy_perf" 2020-09-09 17:19:30.630 18604-2677/com.indictionary.translate E/libc: Access denied finding property "persist.camera.legacy_perf" 2020-09-09 17:19:30.682 18604-2677/com.indictionary.translate E/libc: Access denied finding property "persist.camera.legacy_perf" 2020-09-09 17:19:34.649 18604-21751/com.indictionary.translate E/libc: Access denied finding property "persist.vendor.camera.privapp.list" 2020-09-09 17:19:34.654 18604-3058/com.indictionary.translate E/libc: Access denied finding property "vendor.camera.hal1.packagelist" 2020-09-09 17:19:34.655 18604-3058/com.indictionary.translate E/libc: Access denied finding property "camera.rotate.packagelist" 2020-09-09 17:19:34.655 18604-3058/com.indictionary.translate E/libc: Access denied finding property "vendor.camera.rotate.packagelist" 2020-09-09 17:19:34.741 18604-25095/com.indictionary.translate E/libc: Access denied finding property "vendor.camera.aux.packagelist" 2020-09-09 17:19:34.741 18604-25095/com.indictionary.translate E/libc: Access denied finding property "vendor.camera.aux.packagelist" 2020-09-09 17:19:34.785 18604-21751/com.indictionary.translate E/libc: Access denied finding property "vendor.camera.aux.packagelist" 2020-09-09 17:19:34.856 18604-3129/com.indictionary.translate E/libc: Access denied finding property "persist.camera.legacy_perf" 2020-09-09 17:19:35.138 18604-3129/com.indictionary.translate E/CameraDeviceState: Cannot call capture while in state: 2 2020-09-09 17:19:35.155 18604-3126/com.indictionary.translate E/CameraDeviceState: Cannot receive result while in state: 0 2020-09-09 17:19:35.155 18604-3126/com.indictionary.translate E/CameraDeviceState: Cannot call idle while in state: 0 2020-09-09 17:19:35.232 18604-3129/com.indictionary.translate E/libc: Access denied finding property "persist.camera.legacy_perf" 2020-09-09 17:19:35.254 18604-21751/com.indictionary.translate E/CameraDeviceState: Cannot call idle while in state: 0 2020-09-09 17:19:35.255 18604-21751/com.indictionary.translate E/Camera2CameraImpl: CameraDevice.onError(): 0 failed with ERROR_CAMERA_DEVICE while in CLOSING state. Will finish closing camera. 2020-09-09 17:19:35.257 18604-21751/com.indictionary.translate E/CameraCaptureSession: Session 1: Exception while stopping repeating: android.hardware.camera2.CameraAccessException: CAMERA_ERROR (3): The camera device has encountered a serious error at android.hardware.camera2.impl.CameraDeviceImpl.checkIfCameraClosedOrInError(CameraDeviceImpl.java:2448) at android.hardware.camera2.impl.CameraDeviceImpl.stopRepeating(CameraDeviceImpl.java:1116) at android.hardware.camera2.impl.CameraCaptureSessionImpl.close(CameraCaptureSessionImpl.java:527) at androidx.camera.camera2.internal.SynchronizedCaptureSessionBaseImpl.close(SynchronizedCaptureSessionBaseImpl.java:436) at androidx.camera.camera2.internal.SynchronizedCaptureSessionImpl.lambda$close$4$SynchronizedCaptureSessionImpl(SynchronizedCaptureSessionImpl.java:309) at androidx.camera.camera2.internal.-$$Lambda$SynchronizedCaptureSessionImpl$ej6SnusDBaFvWFR_5VwoLwriBIE.run(Unknown Source:2) at androidx.camera.core.impl.utils.executor.SequentialExecutor$QueueWorker.workOnQueue(SequentialExecutor.java:230) at androidx.camera.core.impl.utils.executor.SequentialExecutor$QueueWorker.run(SequentialExecutor.java:172) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) at java.lang.Thread.run(Thread.java:764) 2020-09-09 17:19:35.258 18604-21751/com.indictionary.translate E/CameraCaptureSession: Session 1: Exception while unconfiguring outputs: android.hardware.camera2.CameraAccessException: CAMERA_ERROR (3): The camera device has encountered a serious error at android.hardware.camera2.impl.CameraDeviceImpl.checkIfCameraClosedOrInError(CameraDeviceImpl.java:2448) at android.hardware.camera2.impl.CameraDeviceImpl.configureStreamsChecked(CameraDeviceImpl.java:422) at android.hardware.camera2.impl.CameraCaptureSessionImpl$IdleDrainListener.onDrained(CameraCaptureSessionImpl.java:952) at android.hardware.camera2.utils.TaskDrainer.lambda$postDrained$0(TaskDrainer.java:207) at android.hardware.camera2.utils.-$$Lambda$TaskDrainer$Jb53sDskEXp_qIjiikQeCRx0wJs.run(Unknown Source:2) at androidx.camera.core.impl.utils.executor.SequentialExecutor$QueueWorker.workOnQueue(SequentialExecutor.java:230) at androidx.camera.core.impl.utils.executor.SequentialExecutor$QueueWorker.run(SequentialExecutor.java:172) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) at java.lang.Thread.run(Thread.java:764) 2020-09-09 17:20:11.747 18604-18611/com.indictionary.translate E/onary.translat: Something went wrong getting fds from adb. Retry!: Connection refusedreproduce video:
first video is error
second video represent open system camera still could't open app camera, but will often open camera after kill the app progress
third video represent our code should has no problem
please see this video in https://issuetracker.google.com/issues/158546463
--
You received this message because you are subscribed to the Google Groups "Android CameraX Discussion Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to camerax-develop...@android.com.
To view this discussion on the web visit https://groups.google.com/a/android.com/d/msgid/camerax-developers/b73daec7-6f4e-4510-b13f-e3419a5049c7n%40android.com.