error on take picture with front camera on pixel 5 when set viewport

Skip to first unread message

Leong kerwin

Jun 13, 2024, 4:20:25 AMJun 13
to Android CameraX Discussion Group
i found the exception on camerax version 1.3.0+

then i update the version to the 1.4.0-beta02, the exception is dispeared, but it still work incorrect


Xi Zhang (张熹)

Jun 13, 2024, 11:13:46 AMJun 13
to Leong kerwin, Android CameraX Discussion Group
Hi Leong, thanks for reporting this issue. The log shows a camera2 error. It's interesting that the use of the Viewport would cause this. We haven't encountered this issue with Viewport in our test apps. Could you share a minimal reproducible sample that we can take a look at?

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
To view this discussion on the web visit

Leong kerwin

Jun 13, 2024, 9:37:02 PMJun 13
to Android CameraX Discussion Group,, Android CameraX Discussion Group, Leong kerwin
I reproduced this exception based on the project CameraXBasic of camera-samples repository, please check
Reply all
Reply to author
0 new messages