-
Notifications
You must be signed in to change notification settings - Fork 24.8k
Closed
Labels
Needs: Triage 🔍Platform: AndroidAndroid applications.Android applications.Resolution: LockedThis issue was locked by the bot.This issue was locked by the bot.
Description
When building a release version of Android with Hermes and ProGuard enabled, it instantly crashes on 0.62.0-rc.5.
In the log I see the following:
About to load: libhermes.so
libhermes.so not found on /data/data/com.rn062/lib-main
libhermes.so found on /data/app/com.rn062-Fjs_ZyNxAT33Mc4PFvqS7Q==/lib/x86
Not resolving dependencies for libhermes.so
React Native version:
0.62.0-rc.5
Steps To Reproduce
This is tested on Linux (PureOS, basically Debian).
- Create a new project
npx react-native init RN062 --version 0.62.0-rc.5
- Enable Hermes and ProGuard in
android/app/build.gradle
- Add Hermes exception in
android/app/proguard-rules.pro
:
-keep class com.facebook.hermes.unicode.** { *; }
- Run
npx react-native run-android --variant release
. The app will instantly crash.
Expected Results
The app to function properly
Snack, code example, screenshot, or link to a repository:
Crash happens on create react native app template.
Metadata
Metadata
Assignees
Labels
Needs: Triage 🔍Platform: AndroidAndroid applications.Android applications.Resolution: LockedThis issue was locked by the bot.This issue was locked by the bot.