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

华为mate9 直接闪退 #5

Open
icoo000 opened this issue Jun 30, 2020 · 0 comments
Open

华为mate9 直接闪退 #5

icoo000 opened this issue Jun 30, 2020 · 0 comments

Comments

@icoo000
Copy link

icoo000 commented Jun 30, 2020

java.lang.IllegalArgumentException: No supported surface combination is found for camera device - Id : 0. May be attempting to bind too many use cases.
at androidx.camera.camera2.impl.Camera2DeviceSurfaceManager.getSuggestedResolutions(Camera2DeviceSurfaceManager.java:180)
at androidx.camera.core.CameraX.calculateSuggestedResolutions(CameraX.java:494)
at androidx.camera.core.CameraX.bindToLifecycle(CameraX.java:188)
at github.hotstu.camerax.qrcodec.MainActivity$onCreate$1$1.run(MainActivity.kt:82)
at android.os.Handler.handleCallback(Handler.java:907)
at android.os.Handler.dispatchMessage(Handler.java:105)
at android.os.Looper.loop(Looper.java:216)
at android.app.ActivityThread.main(ActivityThread.java:7625)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:524)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:987)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant