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

[Crash] Didn't find class "com.facebook.hermes.unicode.AndroidUnicodeUtils" #44

Closed
ifsnow opened this issue Jul 17, 2019 · 2 comments
Closed

Comments

@ifsnow
Copy link

ifsnow commented Jul 17, 2019

Crashes with the following exception:

terminating with uncaught exception of type facebook::jni::JniException: java.lang.ClassNotFoundException: Didn't find class "com.facebook.hermes.unicode.AndroidUnicodeUtils"

This only happens in release build on real devices.

Related to : facebook/react-native#25679

@partiellkorrekt
Copy link

partiellkorrekt commented Jul 17, 2019

Are you using proguard? For me adding the following line to proguard-rules.pro resolved the problem:

-keep class com.facebook.hermes.** { *; }

@ifsnow
Copy link
Author

ifsnow commented Jul 17, 2019

@ifsnow ifsnow closed this as completed Jul 17, 2019
mganandraj pushed a commit to mganandraj/hermes that referenced this issue Jun 22, 2022
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases)
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7)

---
updated-dependencies:
- dependency-name: path-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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