-
Notifications
You must be signed in to change notification settings - Fork 24k
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
Fix jsc-android not found if building from source #24547
Conversation
|
@Kudo Would it be possible to make the path configurable? I'm using yarn workspaces and RN is not installed in |
Maybe a better alternative would be to use |
@janicduplessis Good idea, please let me update accordingly. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this fix!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@cpojer is landing this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
This pull request was successfully merged by @Kudo in 040502b. When will my fix make it into a release? | Upcoming Releases |
Summary
If an app builds from RN source, there was an error for jsc-android not found.
It is a side effect of my previous JSC as node dependency change
For building from RN source case, the jsc-android is located at
/path/to/app/node_modules/jsc-android
.Original gradle task will try to find it at
/path/to/app/node_modules/react-native/ReactAndroid/../node_modules/jsc-android
, as ReactAndroid project path was being override inside node_modules.The change fixes the building from source case.
Changelog
N/A
This change does not need to publish into changelog, as it is a master branch building fix.
Test Plan
./gradlew :ReactAndroid:installArchives