Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
HaXxanParhar opened this issue Jul 9, 2021 · 1 comment
Open

Comments

@HaXxanParhar
Copy link

HaXxanParhar commented Jul 9, 2021

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

@JessYanCoding
Copy link
Owner

#20

upgrade camerax_view

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants