JessYanCoding / JessYanCoding/InsGallery

Crashes when capturing photo but video recording is working fine

Open
#48 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
673
Forks
127
PR merge metrics
No merged PRs in 30d

Description

[complete_stacktrace.txt](https://github.com/JessYanCoding/InsGallery/files/6789561/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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.