question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Building React Native from source -> Project with path ':android-jsc' could not be found in project

See original GitHub issue

Environment

React Native Environment Info:
    System:
      OS: macOS 10.14
      CPU: x64 Intel(R) Core(TM) i9-8950HK CPU @ 2.90GHz
      Memory: 7.19 GB / 32.00 GB
      Shell: 5.3 - /bin/zsh
    Binaries:
      Node: 10.12.0 - /usr/local/bin/node
      npm: 6.4.1 - /usr/local/bin/npm
    SDKs:
      iOS SDK:
        Platforms: iOS 12.0, macOS 10.14, tvOS 12.0, watchOS 5.0
      Android SDK:
        Build Tools: 23.0.1, 26.0.2, 27.0.3, 28.0.2, 28.0.3
        API Levels: 23, 25, 26, 27, 28
    IDEs:
      Android Studio: 3.2 AI-181.5540.7.32.5056338
      Xcode: 10.0/10A255 - /usr/bin/xcodebuild
    npmPackages:
      react: 16.6.0-alpha.8af6728 => 16.6.0-alpha.8af6728
      react-native: github:MarkOSullivan94/react-native#master => 1000.0.0
    npmGlobalPackages:
      react-native-cli: 2.0.1

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

  1. Create a new React Native project react-native init...
  2. Replace existing RN with my forked version
  3. Configure all the gradle files: build.gradle replacing the existing RN project with the forked one and settings.gradle so the forked project is included.
  4. Try and run the project react-native run-android

I have noticed that older versions of RN project used compile 'org.webkit:android-jsc:r174650' instead of compile project(':android-jsc') which is in the current master branch.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:17 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
gengjiawencommented, Dec 1, 2018

You may need check the basic tutorial about docker. It likes git for me. You will love it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

android - @react-native-firebase_app' could not be found in ...
This can happen when you have conflicting dependencies that request two different versions of another dependency. Check the package.json of ...
Read more >
Setting up the development environment - React Native
This page will help you install and build your first React Native app. ... Run the following command to create a new React...
Read more >
Unable to configure zoom video sdk in react native project
Project with path ':mobilertc' could not be found in project ':zoom_react-native-videosdk'. Try: Run with --stacktrace option to get the ...
Read more >
react-native build error: Could not find method implementation ...
This is the error I get when I run react-native run-android : error ... for arguments [org.webkit:android-jsc:+] on project ':app' of type ...
Read more >
a problem occurred evaluating project ':expo'. > project with ...
React Native Error: Project with path ':expo-modules-core' could not be found in project ':react-native-reanimated'. Asked Dec 31, 2021 • 0 votes 2 answers....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found