facebook / flipper

A desktop debugging platform for mobile developers.
https://fbflipper.com/
MIT License
13.36k stars 954 forks source link

Regression: "The native module for Flipper seems unavailable" warning is back #4402

Open SpaghettiC0des opened 1 year ago

SpaghettiC0des commented 1 year ago

🐛 Bug Report

I updated my Flipper MacOS desktop to 0.176.1, and my Flipper pod version to 0.175.0. This warning is back, it can detect the device but the network and other tools are ofc, not working.

To Reproduce

Environment

react-native-flipper 0.176.1 Flipper Cocoapods 0.175.0 iOS 16.1

And if you need it, react-native info output


System:
    OS: macOS 13.0
    CPU: (8) arm64 Apple M1 Pro
    Memory: 103.84 MB / 16.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 16.16.0 - ~/.nvm/versions/node/v16.16.0/bin/node
    Yarn: 1.22.19 - /opt/homebrew/bin/yarn
    npm: 8.11.0 - ~/.nvm/versions/node/v16.16.0/bin/npm
    Watchman: 2022.12.05.00 - /opt/homebrew/bin/watchman
  Managers:
    CocoaPods: 1.11.3 - /Users/karlmarxlopez/.rbenv/shims/pod
  SDKs:
    iOS SDK:
      Platforms: DriverKit 22.1, iOS 16.1, macOS 13.0, tvOS 16.1, watchOS 9.1
    Android SDK:
      API Levels: 19, 26, 30, 31, 32, 33
      Build Tools: 30.0.2, 30.0.3, 31.0.0, 33.0.0
      System Images: android-33 | Google Play ARM 64 v8a
      Android NDK: Not Found
  IDEs:
    Android Studio: 2021.2 AI-212.5712.43.2112.8815526
    Xcode: 14.1/14B47b - /usr/bin/xcodebuild
  Languages:
    Java: 11.0.17 - /usr/bin/javac
  npmPackages:
    @react-native-community/cli: Not Found
    react: Not Found
    react-native: Not Found
    react-native-macos: Not Found
  npmGlobalPackages:
    *react-native*: Not Found

Simulator Screen Shot - iPhone 14 Pro - 2022-12-21 at 17 33 59

cormacbeagan commented 1 year ago

Which version of react native are you using?

renchap commented 1 year ago

I am having the same issue with RN 0.71 and Flipper 0.171.1 on Android.

Everything works fine on iOS, so I am not sure where the issue comes from.

Any ideas?

renchap commented 1 year ago

Nevermind, this came from the package directive in my ReactNativeFlipper.java file referencing the wrong namespace.