Closed denissb closed 1 year ago
I have a problem with the Android app crashing when trying to disable Hermes on RN version 0.71+, with Hermes enabled the app builds and works fine. My Android app is using multiple build flavours, so maybe the cause is related. iOS builds and works fine both with and without Hermes enabled.
Hi @denissb Thanks for sharing your build files.
Could you try on a fresh 0.71.x project, add custom flavors, disable hermes, and verify if the crash is still happening.
You can use this template to create a small repro: https://github.com/react-native-community/reproducer-react-native
If the crash is happening also in that scenario, we can look into fixing it.
This issue is waiting for author's feedback since 24 days. Please provide the requested feedback or this will be closed in 7 days.
This issue was closed because it has been stalled for 7 days with no activity.
I have the same problem after updating to RN 0.72.6 I need to disable Hermes because the debugging tools are not working and I found a solution that recommends to disable Hermes: https://github.com/facebook/react-native/issues/34615#issuecomment-1238913946
New Version
0.71.7
Old Version
0.66.5
Build Target(s)
Google Pixel 7 device
Output of
react-native info
System: OS: macOS 12.6 CPU: (10) arm64 Apple M1 Max Memory: 70.83 MB / 32.00 GB Shell: 3.2.57 - /bin/bash Binaries: Node: 16.16.0 - /var/folders/ds/frkzsx3s2pncyxrps39c47z5q5v2bz/T/yarn--1683009508109-0.6950868209952468/node Yarn: 1.19.1 - /var/folders/ds/frkzsx3s2pncyxrps39c47z5q5v2bz/T/yarn--1683009508109-0.6950868209952468/yarn npm: 8.19.3 - ~/.nvm/versions/node/v16.16.0/bin/npm Watchman: 2023.02.20.00 - /opt/homebrew/bin/watchman Managers: CocoaPods: 1.12.0 - /Users/denissb/.rvm/gems/ruby-2.7.3/bin/pod SDKs: iOS SDK: Platforms: DriverKit 22.2, iOS 16.2, macOS 13.1, tvOS 16.1, watchOS 9.1 Android SDK: API Levels: 28, 29, 31, 32, 33 Build Tools: 30.0.2, 30.0.3, 33.0.0, 33.0.1, 33.0.2 System Images: android-29 | Google APIs ARM 64 v8a, android-31 | Google APIs ARM 64 v8a, android-33 | Google APIs ARM 64 v8a Android NDK: Not Found IDEs: Android Studio: 2022.2 AI-222.4459.24.2221.9862592 Xcode: 14.2/14C18 - /usr/bin/xcodebuild Languages: Java: 11.0.17 - /usr/bin/javac npmPackages: @react-native-community/cli: Not Found react: 18.2.0 => 18.2.0 react-native: 0.71.7 => 0.71.7 react-native-macos: Not Found npmGlobalPackages: react-native: Not Found
Issue and Reproduction Steps
Hello dear RN support team
I have a problem with the Android app crashing when trying to disable Hermes on RN version 0.71+, with Hermes enabled the app builds and works fine. My Android app is using multiple build flavours, so maybe the cause is related. iOS builds and works fine both with and without Hermes enabled.
I would like to disable Hermes because I am relying on
toString
implementation on functions.build.gradle
Error log: