-
Notifications
You must be signed in to change notification settings - Fork 24.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
Building React Native from source -> Project with path ':android-jsc' could not be found in project #22118
Comments
That's because we add 64bit cpu support. |
For now you can try
This may take a while, since it download the docker image and build all the things, after success, you can see something like this in root folder.
Then remove |
Also you need this patch #22293. |
I tried running the docker command and I received the following message
|
Looks like you have some network issue. |
I've just copied and pasted exactly what you told me to run. I have no idea what I should do next. |
can you try run it on ci ? Circle ci can use ssh debug. |
You can also try |
Yeah that didn't work either. I've never used docker before so I'm not sure if there's any additional steps I need to take to make it work on my machine for RN.
I'm not sure I follow. I don't have Circle CI. |
You may need check the basic tutorial about docker. It likes git for me. You will love it. |
Okay turns out that I was getting that error message because I was logged in with my email and not my username. Odd. @gengjiawen where do I run that docker command? In the root level in my fork of the RN project? |
yeap. |
Okay it's currently downloading. Thank you! What do you mean by this:
Curious what you mean exactly. |
Like this #21776 (comment) |
Ah yeah I already had that setup in the project. Initially had issues with the RN build.gradle file, specifically this section: https://github.com/MarkOSullivan94/react-native/blob/master/ReactAndroid/build.gradle#L6 Had to fix it by removing two of the plugins from that section and using
After that I was shown this error message
|
Don't remove them. And sync with upstream again as I mentioned earlier. |
Looks like this can be closed? The JSC in Android was updated in December, it's in master now. |
Environment
Description
Happened after I merged the latest changes for the React Native project into my forked version of it (with only changes to share functionality included there).
Reproducible Demo
react-native init...
build.gradle
replacing the existing RN project with the forked one andsettings.gradle
so the forked project is included.react-native run-android
I have noticed that older versions of RN project used
compile 'org.webkit:android-jsc:r174650'
instead ofcompile project(':android-jsc')
which is in the current master branch.The text was updated successfully, but these errors were encountered: