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
I'm getting this error when trying to build my app with this plugin. Can you please help?
> Task :app:compileReleaseJavaWithJavac FAILED
/workspace/build/cordova/platforms/android/app/src/main/java/com/mobisys/cordova/plugins/mlkit/barcode/scanner/CaptureActivity.java:260: error: cannot find symbol
mCameraView.setPreferredImplementationMode(PreviewView.ImplementationMode.TEXTURE_VIEW);
^
symbol: variable TEXTURE_VIEW
location: class ImplementationMode
/workspace/build/cordova/platforms/android/app/src/main/java/com/mobisys/cordova/plugins/mlkit/barcode/scanner/CaptureActivity.java:306: error: cannot find symbol
preview.setSurfaceProvider(mCameraView.createSurfaceProvider());
^
symbol: method createSurfaceProvider()
location: variable mCameraView of type PreviewView
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: /workspace/build/cordova/platforms/android/app/src/main/java/org/apache/cordova/file/AssetFilesystem.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
2 errors
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:compileReleaseJavaWithJavac'.
> Compilation failed; see the compiler error output for details.
The text was updated successfully, but these errors were encountered:
You may need to check to ensure the cordova-plugin-androidx-adapter package is also installed, and if you're using cordova-android < 9.0.0 the cordova-plugin-androidx package needs to be installed as well.
I'm getting this error when trying to build my app with this plugin. Can you please help?
The text was updated successfully, but these errors were encountered: