Skip to content

Unresolved reference: facebook #353

Closed
@dhananjayspeed

Description

@dhananjayspeed

Description

Unable to create native module and android studio showing error "Unresolved reference: facebook"

Packages

  • create-react-native-library
  • react-native-builder-bob

Selected options

Execution failed for task ':generateDebugRFile'.

Could not resolve all files for configuration ':debugCompileClasspath'.
Could not find com.facebook.react:react-native:.
Required by:
project :

Link to repro

No response

Environment

System:
OS: macOS 13.0.1
CPU: (8) x64 Apple M1
Memory: 27.35 MB / 16.00 GB
Shell: 5.8.1 - /bin/zsh
Binaries:
Node: 14.17.6 - /usr/local/bin/node
Yarn: 1.22.19 - /usr/local/bin/yarn
npm: 9.1.1 - /usr/local/bin/npm
Watchman: Not Found
Managers:
CocoaPods: 1.11.3 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 22.2, iOS 16.2, macOS 13.1, tvOS 16.1, watchOS 9.1
Android SDK: Not Found
IDEs:
Android Studio: 2021.3 AI-213.7172.25.2113.9123335
Xcode: 14.2/14C18 - /usr/bin/xcodebuild
Languages:
Java: 15.0.2 - /usr/bin/javac
npmPackages:
@react-native-community/cli: Not Found
react: 18.2.0 => 18.2.0
react-native: 0.71.1 => 0.71.1
react-native-macos: Not Found

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions