Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IllegalArgumentException on some Android devices causing black camera view #247

Open
ManuLin opened this issue Jul 19, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@ManuLin
Copy link

ManuLin commented Jul 19, 2024

We are facing an issue where the camera view remains black right after starting our application. We put some debugging efforts into that issue and found that this may be caused by an IllegalArgumentException being thrown when calling "BindToLifecycle" in the Android CameraViewHandler class.

Java.Lang.IllegalArgumentException: 'No supported surface combination is found for camera device - Id : 1. May be attempting to bind too many use cases. Existing surfaces: [] New configs: [androidx.camera.core.impl.PreviewConfig@e277356, androidx.camera.core.impl.ImageAnalysisConfig@5d820c4]'

We already tried updating to the most recent package references, so far we have not been successful. Any ideas on how to resolve this issue?

@ManuLin ManuLin added the bug Something isn't working label Jul 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant