java.lang.IllegalArgumentException:找不到相机设备支持的表面组合 - Id:0。可能试图绑定太多用例。
为什么bindToLifecycle()只能选择 imageCaptureor videoCapture?
CameraX.bindToLifecycle(lifecycleOwner, mPreview, imageCapture,videoCapture)
Run Code Online (Sandbox Code Playgroud) 在更新到 dev06 并运行应用程序时,我收到以下错误:
java.lang.NoSuchMethodError: No static method setContent(Landroid/app/Activity;Lkotlin/jvm/functions/Function0;)Landroidx/compose/Composition; in class Landroidx/ui/core/WrapperKt; or its super classes (declaration of 'androidx.ui.core.WrapperKt' appears in /data/app/tt.reducto.composesample-BYNjMDWbVhiprnPCNJw0LA==/base.apk)
Run Code Online (Sandbox Code Playgroud)