Questions tagged [react-native-hermes]

Hermes is an open-source JavaScript engine optimized for running React Native apps on Android. For many apps, simply enabling Hermes will result in improved start-up time, decreased memory usage, and smaller app size.

34 questions
10
votes
1 answer

React-Native: Hermes is not enabled

I am trying to enable Hermes in a new project but despite I have enabled it in android/app/build.gradle it is not enabled. I am not able to see Engine: Hermes text in app as described in documentation. I am using WebStorm 2019.2 project…
Olcay Ertaş
  • 5,374
  • 8
  • 71
  • 98
10
votes
4 answers

Getting "java.lang.UnsatisfiedLinkError: couldn't find DSO to load: libhermes.so" error

I'm in the process of migrating a React Native project from react-native version 0.58.5 to 0.60.4. For the Android part I've done all the changes mentioned here I let Hermes disabled in my app build.gradle file: project.ext.react = [ entryFile:…
cjosepha
  • 143
  • 1
  • 1
  • 9
9
votes
1 answer

React-native 0.61.2 with hermes disassembling index.android.bundle

I created a release build of my app with react-native 0.61.2 and enabled Hermes. In my Crashlytics I receive information about crashes along with stacktraces. Perviously I used to apply apktool to extract index.android.bundle from my apk, and it…
8
votes
1 answer

React native 0.61.5 Crashlytics missing libhermes.so: SoLoader.java com.facebook.soloader.SoLoader.assertInitialized

I am building a React-Native application, everything worked fine until I decided to upgrade from version 0.59.x to v 0.61.5. When I try to release my app in the play store, I've got a lot of crashes reported by Firebase Crashlytics (v 6.2.0) -- even…
Kruupös
  • 3,788
  • 2
  • 22
  • 35
5
votes
0 answers

React Native 0.60.4 / couldn't find DSO to load: libhermes.so on Firebase Test Lab

I have got this error at startup ONLY when testing my react native app on Firebase Test Lab (Robo) java.lang.UnsatisfiedLinkError: couldn't find DSO to load: libhermes.so Tested on several devices with different API, it works only on API 21 and 22.…
2
votes
0 answers

How can I enable the Hermes engine in react-native

I followed the official docs to enable the Hermes engine in my app but the following always returns false: const isHermes = () => !!global.HermesInternal; console.log('>>>>>>>>>>>>>', isHermes()); The changes I made are setting the…
2
votes
1 answer

Flipper: Flipper Hermes debugger does not show

Flipper Hermes debugger does not show I would like to ask how to make him display normally? react-native:0.62.2 (Update from 0.61 to 0.62.2) https://fbflipper.com/ https://reactnative.dev/docs/hermes error message: Metro is connected but no Hermes…
2
votes
0 answers

React Native Hermes debugging not working (empty sources tab)

I've enabled Hermes for my RN (0.61.4) app and followed RN docs instructions to enable Hermes and debug using Chrome dev tools (https://reactnative.dev/docs/hermes#debugging-hermes-using-google-chromes-devtools). I open the chrome://inspect and I'm…
Yosef
  • 270
  • 4
  • 13
1
vote
0 answers

How can I enable Hermes engine in an updated react-native project?

I'm working on a react-native project that was originally using an old react-native version. Updating the project to use the latest react-native version, has been quite succesful in other ways. However, I have not been able to enable Hermes engine…
1
vote
3 answers

React-native Hermes production build fails

react@17.0.1 react-native@0.63.4 Build without Hermes works fine. Development build with Hermes works fine. Production build with Hermes works fine, if I comment-out all my code and just render the first App.ts with just Works. If I put…
stkvtflw
  • 9,002
  • 19
  • 50
  • 110
1
vote
1 answer

React-native/hermes build error. no such file or directory: index.android.bundle.packager.map

Description Getting the following messages during build with hermesEnabled set to true ('...' represent removed text): (full error log is here) android\app\build\generated\assets\react\release\index.android.bundle:13:134: warning: the variable…
Yossi
  • 4,112
  • 5
  • 29
  • 53
1
vote
1 answer

error building app with hermes: '..' is not recognized as an internal or external command

Building the react-native app on Windows 10. The error is printed for line 165 of node_modules\react-native\react.gradle: '..' is not recognized as an internal or external command, operable program or batch file Line 165 is the 5th line in the…
Yossi
  • 4,112
  • 5
  • 29
  • 53
1
vote
0 answers

React Native slower cold boot when offline

I recently upgraded my react native app from 0.50.10 to 0.62.2. Everything went smoothly and I'm pretty happy with the enhanced performance Hermes provides on Android, however we found one major problem when trying to launch the app in offline mode,…
Carlos J
  • 2,868
  • 4
  • 14
  • 28
1
vote
0 answers

couldn't find DSO to load: libhermes-executor-release.so

log: Time Tag Message 15:56:52.131 SoLoader couldn't find DSO to load: libjscexecutor.so 15:56:54.275 SoLoader couldn't find DSO to load: libhermes-executor-release.so android\app\build.gradle: project.ext.react = [ …
ebyte
  • 969
  • 5
  • 15
1
vote
2 answers

React native app with Hermes crashes with "SIGSEGV: Segmentation violation (invalid memory reference) "

In our crash tracking app bugsnag, I see an increasing amount of crashes with "SIGSEGV: Segmentation violation (invalid memory reference)". They seem to happen only on Android and the stacktrace is full of libhermes.so. This stacktraces tells me…
OlliM
  • 6,505
  • 1
  • 32
  • 45
1
2 3