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.

error: package com.facebook.fbreact.specs does not exist

See original GitHub issue

Description

Getting error when building android

error: package com.facebook.fbreact.specs does not exist

error: cannot find symbol
public class JSDevSupport extends NativeJSDevSupportSpec {
                                  ^
  symbol: class NativeJSDevSupportSpec

Version

0.68.0

Output of npx react-native info

System:
    OS: macOS 12.3.1
    CPU: (8) x64 Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
    Memory: 9.00 GB / 16.00 GB
    Shell: 5.8 - /bin/zsh
  Binaries:
    Node: 14.19.1 - ~/.nvm/versions/node/v14.19.1/bin/node
    Yarn: 1.22.18 - /usr/local/bin/yarn
    npm: 6.14.16 - ~/.nvm/versions/node/v14.19.1/bin/npm
    Watchman: 2022.03.21.00 - /usr/local/bin/watchman
  Managers:
    CocoaPods: 1.11.3 - /usr/local/bin/pod
  SDKs:
    iOS SDK:
      Platforms: DriverKit 21.4, iOS 15.4, macOS 12.3, tvOS 15.4, watchOS 8.5
    Android SDK: Not Found
  IDEs:
    Android Studio: 2021.1 AI-211.7628.21.2111.8309675
    Xcode: 13.3.1/13E500a - /usr/bin/xcodebuild
  Languages:
    Java: Not Found
  npmPackages:
    @react-native-community/cli: Not Found
    react: 17.0.2 => 17.0.2 
    react-native: 0.68.1 => 0.68.1 
    react-native-macos: Not Found
  npmGlobalPackages:
    *react-native*: Not Found

Steps to reproduce

open in android studio and build

Snack, code example, screenshot, or link to a repository

No response

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:3
  • Comments:15 (7 by maintainers)

github_iconTop GitHub Comments

0reactions
psionic12commented, Aug 1, 2022

Just a heads up that Fabric Autolinking is coming with RN 0.70

@cortinico hi, is there any documentation about this autolinking feature?

Read more comments on GitHub >

github_iconTop Results From Across the Web

error: package com.facebook.react.bridge does not exist while ...
I've tried removing the entire node_modules folder and re-installing everything from the package.json, cleaning and building with gradle but to ...
Read more >
Android Guide to TurboModules in React Native for Early ...
It will look like this. package com.turbomodulesampleproject; import androidx.annotation.NonNull; import com.facebook.fbreact.specs.NativeSampleModuleSpec;
Read more >
error: package com.facebook.react.bridge does not exist
I'm trying to run gradle build in the android folder of my React Native app but I keep getting this strange error. >...
Read more >
New app: Gao&Blaze (!10576) · Merge requests - GitLab
The original app author has been notified (and does not oppose the inclusion); All related fdroiddata and RFP issues have been referenced in...
Read more >
مدیاویکی:Gadget-experimental-react.js - ویکی‌پدیا، دانشنامهٔ آزاد
framesToPop = 1; // we don't care about invariant's own frame throw error; ... because it // breaks IE9: https://github.com/facebook/react/issues/13610 ...
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