You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Caused by: java.lang.IllegalStateException: CameraX is not configured properly. The most likely cause is you did not include a default implementation in your build such as 'camera-camera2'.
at androidx.camera.core.CameraX.(CameraX.java:109)
at androidx.camera.lifecycle.ProcessCameraProvider.getOrCreateCameraXInstance(ProcessCameraProvider.java:181)
at androidx.camera.lifecycle.ProcessCameraProvider.getInstance(ProcessCameraProvider.java:167)
at com.maning.mlkitscanner.scan.camera.CameraManager.startCamera(CameraManager.java:91)
at com.maning.mlkitscanner.scan.ui.ScanPreviewActivity.startCamera(ScanPreviewActivity.java:128)
at com.maning.mlkitscanner.scan.ui.ScanPreviewActivity.initPermission(ScanPreviewActivity.java:105)
at com.maning.mlkitscanner.scan.ui.ScanPreviewActivity.onCreate(ScanPreviewActivity.java:73)
at android.app.Activity.performCreate(Activity.java:8508)
at android.app.Activity.performCreate(Activity.java:8472)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1384)
The text was updated successfully, but these errors were encountered:
Caused by: java.lang.IllegalStateException: CameraX is not configured properly. The most likely cause is you did not include a default implementation in your build such as 'camera-camera2'.
at androidx.camera.core.CameraX.(CameraX.java:109)
at androidx.camera.lifecycle.ProcessCameraProvider.getOrCreateCameraXInstance(ProcessCameraProvider.java:181)
at androidx.camera.lifecycle.ProcessCameraProvider.getInstance(ProcessCameraProvider.java:167)
at com.maning.mlkitscanner.scan.camera.CameraManager.startCamera(CameraManager.java:91)
at com.maning.mlkitscanner.scan.ui.ScanPreviewActivity.startCamera(ScanPreviewActivity.java:128)
at com.maning.mlkitscanner.scan.ui.ScanPreviewActivity.initPermission(ScanPreviewActivity.java:105)
at com.maning.mlkitscanner.scan.ui.ScanPreviewActivity.onCreate(ScanPreviewActivity.java:73)
at android.app.Activity.performCreate(Activity.java:8508)
at android.app.Activity.performCreate(Activity.java:8472)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1384)
The text was updated successfully, but these errors were encountered: