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

Jisho-lens crash when take a picture or scan image from gallery #2

Open
wanhuz opened this issue Jan 13, 2024 · 1 comment
Open

Jisho-lens crash when take a picture or scan image from gallery #2

wanhuz opened this issue Jan 13, 2024 · 1 comment
Assignees

Comments

@wanhuz
Copy link

wanhuz commented Jan 13, 2024

Problem

Jisho-lens app kept crashing when taking a picture or scanning any image from gallery.
Tested on Lenovo Legion Y700 tablet and Poco X3 NFC phone so I'm kinda sure this isn't device specific issue.

Steps to reproduce

  1. Install Jisho-lens 1.1.0
  2. Import database from latest release of 1.1.0
  3. Scan any image from gallery or take any snapshots.
  4. App will crash.

This issue didn't happen on version 1.0.1 on both my phone and tablet.

Fortunately, my phone managed to logs the issue, though I'm not sure if this is helpful:

java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/mlkit/vision/text/japanese/JapaneseTextRecognizerOptions$Builder;
at c2.d.i(Unknown Source:42)
at c2.d.h(Unknown Source:35)
at c2.d.a(Unknown Source:33)
at v2.k$a.a(Unknown Source:17)
at i2.c.l(Unknown Source:18)
at i2.c.m(Unknown Source:40)
at i2.c.i(Unknown Source:0)
at i2.b.run(Unknown Source:12)
at android.os.Handler.handleCallback(Handler.java:938)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:210)
at android.os.Looper.loop(Looper.java:299)
at android.app.ActivityThread.main(ActivityThread.java:8319)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:556)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1038)
Caused by: java.lang.ClassNotFoundException: com.google.mlkit.vision.text.japanese.JapaneseTextRecognizerOptions$Builder
... 16 more

@elianiva
Copy link
Owner

thank you for the report (and kindly providing the log :)
will look into it

@elianiva elianiva self-assigned this Jan 13, 2024
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