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

Build issue on Android #46

Open
2 of 8 tasks
TylerOlthuizen opened this issue Nov 2, 2023 · 3 comments
Open
2 of 8 tasks

Build issue on Android #46

TylerOlthuizen opened this issue Nov 2, 2023 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@TylerOlthuizen
Copy link

What happened?

Hello!

Are there any additional steps to get Android to work properly? Everything works great on IOS, get an error when starting Android app, and it immediately crashes.

Error:

FATAL EXCEPTION: create_react_context
java.lang.NoSuchMethodError: No static method getClient()Lcom/google/mlkit/vision/text/TextRecognizer; in class Lcom/google/mlkit/vision/text/TextRecognition;

Version

@react-native-ml-kit/barcode-scanning: version@react-native-ml-kit/face-detection: version@react-native-ml-kit/identify-languages: version@react-native-ml-kit/image-labeling: version@react-native-ml-kit/text-recognition: version@react-native-ml-kit/translate-text: version

Which ML Kit packages do you use?

  • @react-native-ml-kit/barcode-scanning
  • @react-native-ml-kit/face-detection
  • @react-native-ml-kit/identify-languages
  • @react-native-ml-kit/image-labeling
  • @react-native-ml-kit/text-recognition
  • @react-native-ml-kit/translate-text

What platforms are you seeing this issue on?

  • Android
  • iOS

System Information

mac m2
pixel 7 android studio sdk 33.

Steps to Reproduce

install package,
implement package in react native code,
build android app.

@TylerOlthuizen TylerOlthuizen added the bug Something isn't working label Nov 2, 2023
@mahdiih
Copy link

mahdiih commented Dec 19, 2023

same to me

@a7medev a7medev self-assigned this Dec 19, 2023
@seolargo
Copy link

same

@neha-s999
Copy link

any update for the solution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants