Skip to content

Crashes when capturing photo but video recording is working fine #48

Open

Description

@HaXxanParhar

complete_stacktrace.txt
When capturing a photo it crashes with the following message (I attached the complete stack trace in the file) :

E/MessageQueue-JNI: java.lang.NoSuchMethodError: No virtual method takePicture(Ljava/io/File;Ljava/util/concurrent/Executor;Landroidx/camera/core/ImageCapture$OnImageSavedCallback;)V in class Landroidx/camera/view/CameraView; or its super classes (declaration of 'androidx.camera.view.CameraView' appears in /data/app/com.drudotstech.petsjoin-CVTNbQ33HjxYToUcHRdewA==/base.apk)
at com.luck.picture.lib.instagram.InstagramCameraView$1.takePictures(InstagramCameraView.java:106)
at com.luck.picture.lib.instagram.InstagramCaptureLayout.onTouchEvent(InstagramCaptureLayout.java:204)
at android.view.View.dispatchTouchEvent(View.java:11788)

Device: Huawei Honor 7C running Android 8.0.0

Activity

  1. JessYanCoding commented on Jul 9, 2021

    @JessYanCoding
    Owner

    #20

    upgrade camerax_view

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions