Closed madebygui closed 2 years ago
project.ext.react = [
enableHermes: true, // clean and rebuild if changing
- hermesCommand: "../node_modules/hermes-engine/%OS-BIN%/hermes",
]
You should be fine by just removing the custom hermesCommand
here
Description
I can build app with assembleDebug, but when I build using assembleRelease it gives me the follow error:
My app/build.gradle:
Version
0.69.3
Output of
npx react-native info
System: OS: macOS 12.5.1 CPU: (8) arm64 Apple M1 Memory: 336.67 MB / 16.00 GB Shell: 5.8.1 - /bin/zsh Binaries: Node: 18.4.0 - /opt/homebrew/bin/node Yarn: 1.22.18 - /opt/homebrew/bin/yarn npm: 8.13.1 - /opt/homebrew/bin/npm Watchman: 2022.06.13.00 - /opt/homebrew/bin/watchman Managers: CocoaPods: 1.11.3 - /opt/homebrew/bin/pod SDKs: iOS SDK: Platforms: DriverKit 21.4, iOS 15.5, macOS 12.3, tvOS 15.4, watchOS 8.5 Android SDK: Not Found IDEs: Android Studio: 2021.1 AI-211.7628.21.2111.8139111 Xcode: 13.4.1/13F100 - /usr/bin/xcodebuild Languages: Java: 11.0.11 - /usr/bin/javac npmPackages: @react-native-community/cli: Not Found react: Not Found react-native: Not Found react-native-macos: Not Found npmGlobalPackages: react-native: Not Found
Steps to reproduce
cd android ./gradlew assembleRelease
Snack, code example, screenshot, or link to a repository
My app/build.gradle