小编use*_*556的帖子

CameraX.bindToLifecycle() 发生错误

java.lang.IllegalArgumentException:找不到相机设备支持的表面组合 - Id:0。可能试图绑定太多用例。

为什么bindToLifecycle()只能选择 imageCaptureor videoCapture

 CameraX.bindToLifecycle(lifecycleOwner, mPreview, imageCapture,videoCapture)
Run Code Online (Sandbox Code Playgroud)

android android-camerax

11
推荐指数
3
解决办法
5599
查看次数

Jetpack Compose dev06 setContent() 不起作用?

在更新到 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)

android android-jetpack-compose

9
推荐指数
3
解决办法
4986
查看次数