Skip to content

CameraX Error #317

@pulmuone

Description

@pulmuone

Version Information

  • Visual Studio version (16.10):
  • Xamarin.Android version (eg. 11.):
  • Using AndroidX or Support Libraries:
  • If Support Libraries, version
    Xamarin.AndroidX.Camera.Core 1.0.0.5
    Xamarin.AndroidX.Camera.Camera2 1.0.0.5

Describe your Issue:

Sample :
https://github.com/pulmuone/Xamarin.CameraX

Java.Lang.NoSuchMethodError: 'No virtual method getCamera()Landroidx/camera/core/Camera; in class Landroidx/camera/core/SurfaceRequest; or its super classes (declaration of 'androidx.camera.core.SurfaceRequest' appears in /data/app/~~4HOOuVWw8CXqpm7Hpvqn9g==/com.companyname.camerax-RjkqSTFNUlqg7AwkQoyIqg==/base.apk)'
----- fixed
AS-IS : preview.SetSurfaceProvider(viewFinder.CreateSurfaceProvider());
TO-BE : preview.SetSurfaceProvider(viewFinder.SurfaceProvider);

Metadata

Metadata

Assignees

Labels

binding-issueJava error when attempting to use bound type/method

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions