-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
React Native Android Build Issues 15.9.0+ #16046
Comments
Issue with the wrong variant still exists. However have discovered the |
@enchorb - I am having the same issue as you. I tried changing the metro dependencies in my package.json to 0.75.1 per your note above, but I still encountered the same build issue with android. Additionally, I noticed that regardless of the version of metro included in my package.json, when I run nx :start, metro 0.73.9 is what starts. I've tried adding metro 0.75.1 in the resolutions section of my package.json, which does cause metro 0.75.1 to start rather than 0.73.9, but android still fails. Any suggestions? |
i think maybe downgrade metro to 0.73.9 since it is the react native peer deps version |
The variant/mode is ignored from RN CLI's run-android in version 10.2.0, that is declared as dependency of react-native 0.71.7, when using the Until a version bump of CLI or stable release of 0.72 (which uses version 12.0.0 of react-native CLI), a fix would be to set the run-android executor option I pointed the issue here facebook/react-native#37110 and it the 0.71.8 thread |
This issue has been automatically marked as stale because it hasn't had any recent activity. It will be closed in 14 days if no further activity occurs. |
Were you able to solve the issue? |
This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context. |
Current Behavior
Android apps have weird build issues on versions above 15.8.9.
First the variant/mode is ignored, by mode for @nrwl/react-native:run-android is devDebug but for whatever reason on versions above 15.8.9 it defaults to prodDebug which causes the build to fail (expecting a different signing config)
For the sake of testing what would happen if the prodDebug build completed (temp changed the signing config), I am then met with the below error
Not sure if this is due to the
react-native-community/cli
upgrade in 15.9.0 or some other issue but they do seem relatedExpected Behavior
App builds, this is fine on versions 15.8.9 and below
GitHub Repo
No response
Steps to Reproduce
Nx Report
Failure Logs
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: