Closed hosseint79 closed 2 weeks ago
@hosseint79 How did you solve it? Could you please help me with that?
@alexmyshchyshyn Certainly! I’d be happy to help
1: My app was located at:
/apps/mobile
2: I opened the build.gradle file located at:
/apps/mobile/android/app/build.gradle
3: I uncommented the hermesCommand line and replaced it with:
hermesCommand = "../../node_modules/react-native/sdks/hermesc/%OS-BIN%/hermesc"
If your app isn't in /apps, you might need to adjust the hermesCommand path
Thanks a lot @hosseint79. Found it some time ago too 🥇
getting this error:
error: unknown option '--signing-config'
to solve this issue, need to set hermesCommand in your file // hermesCommand = "$rootDir/my-custom-hermesc/bin/hermesc"
to something like
hermesCommand = "../../node_modules/react-native/sdks/hermesc/%OS-BIN%/hermesc"
depends on your app's directory offset from root
apps/<app name>
, the line is hermesCommand = "../../node_modules/react-native/sdks/hermesc/%OS-BIN%/hermesc"
<app name>
, then the line is hermesCommand = "../node_modules/react-native/sdks/hermesc/%OS-BIN%/hermesc"
Current Behavior
when I try to run this command
npx nx run mobile:build-android
I get errorExpected Behavior
Successfully APK file created
GitHub Repo
No response
Steps to Reproduce
Nx Report
Failure Logs
Package Manager Version
No response
Operating System
Additional Information
No response