react-native-slider: Android Build Failed - Could not resolve all artifacts for configuration ':react-native-community_slider:classpath'.

It was running fine till yesterday, I had not updated the package & once it started to throw this issue I then upgraded to the latest version but still the same issue

Version Details

"@react-native-community/slider": "^4.2.0",
"react-native-slider": "^0.11.0",
"react-native": "^0.67.4",

Current Version Of Slider

"@react-native-community/slider": "^4.3.0",

* What went wrong:
Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'.
> Could not resolve all dependencies for configuration ':app:debugCompileClasspath'.
   > A problem occurred configuring project ':react-native-community_slider'.
      > Could not resolve all artifacts for configuration ':react-native-community_slider:classpath'.
         > Could not find com.facebook.react:react-native-gradle-plugin:.
           Required by:
               project :react-native-community_slider

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 15 (3 by maintainers)

Most upvoted comments

“^4.3.0” this version is unstable for now downgrade version with “4.2.0” and remove caret symbol

then run command npx jetify

problem solved

Yes, just fix the slider connection in the package.json

"@react-native-community/slider": "4.2.4",

A little higher has already been answered