Skip to content

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

Closed
@MarkOSullivan94

Description

@MarkOSullivan94

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions