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

app crashed #691

Closed
Ranbir-nexever opened this issue Oct 3, 2024 · 4 comments
Closed

app crashed #691

Ranbir-nexever opened this issue Oct 3, 2024 · 4 comments

Comments

@Ranbir-nexever
Copy link

Describe your issue. If applicable, add screenshots to help explain your problem.

backtrace:
#00 pc 0000000000035528 /apex/com.android.art/lib64/libjavacore.so (Memory_peekByte(_JNIEnv*, _jclass*, long)+0) (BuildId: 8d85311607fdef69ea901998b2a938b1)
#1 pc 00000000020f40e4 /memfd:jit-cache (deleted)

Steps to reproduce.

open camera screen many times

What is the expected result?

app is crashed

Did you try our example app?

No

Is it reproducible in the example app?

Yes

Reproducible in which OS?

Android

Flutter/Dart Version?

3.22.2

Plugin Version?

google_mlkit_text_recognition: ^0.11.0

@bensonarafat
Copy link
Collaborator

Could you try the example app?

@Ranbir-nexever
Copy link
Author

Ranbir-nexever commented Oct 4, 2024 via email

@bensonarafat
Copy link
Collaborator

Okay, I have to close this. Look at this issue #684

@pvlKryu
Copy link

pvlKryu commented Oct 9, 2024

Working Configuration:

  google_mlkit_face_detection: 0.11.0
  camera: 0.11.0+2
  camera_android_camerax: 0.6.7+2

Problem:
The issue arises when using google_mlkit_face_detection: ^0.11.0 or google_mlkit_face_detection: 0.12.0 without explicitly specifying the version camera_android_camerax: 0.6.7+2. This happens because camera: 0.11.0+2 uses camera_android_camerax: 0.6.8+2 under the hood, which causes build errors.

Solution:
By explicitly setting camera_android_camerax: 0.6.7+2 and google_mlkit_face_detection: 0.11.0. Using this config it is still the new camera_android_camerax under the hood in the camera package.

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

3 participants