facebook/flipper

"Could not find com.facebook.react:flipper-integration" error with new Android Studio and react native 0.73.7

amir-ibrahim opened this issue · 9 comments

Could not find com.facebook.react:flipper-integration:.

Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'.

Could not resolve all task dependencies for configuration ':app:debugCompileClasspath'.
Could not find com.facebook.react:flipper-integration:.
Required by:
project :app

Possible solution:

  • Declare repository providing the artifact, see the documentation at
Screenshot 2024-04-24 at 12 41 49 PM

To Reproduce

new Android Studio and react native 0.73.7

Environment

React native 0.73.7 + Android Studio latest version ( Android Studio Iguana | 2023.2.1 Patch 2 )

thank God, so the issue was in the Flipper integration because they removed it from the React Native as the new version of RN 0.74.0 is launched for more info:
react-native-community/discussions-and-proposals#641

FAILURE: Build failed with an exception.

  • What went wrong:
    Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'.

Could not resolve all task dependencies for configuration ':app:debugCompileClasspath'.
Could not find com.facebook.react:flipper-integration:.
Required by:
project :app

  • Try:

Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.
Get more help at https://help.gradle.org.

BUILD FAILED in 17s
error Failed to install the app. Command failed with exit code 1: gradlew.bat app:installDebug -PreactNativeDevServerPort=8081 FAILURE: Build failed with an exception. * What went wrong: Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'. > Could not resolve all task dependencies for configuration ':app:debugCompileClasspath'. > Could not find com.facebook.react:flipper-integration:. Required by: project :app * Try: > Run with --stacktrace option to get the stack trace. > Run with --info or --debug option to get more log output. > Run with --scan to get full insights. > Get more help at https://help.gradle.org. BUILD FAILED in 17s.
info Run CLI with --verbose flag for more details.

what can i do ? i cannot understand it

i have this error in react native latest version