react-native-slider icon indicating copy to clipboard operation
react-native-slider copied to clipboard

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

Open Md-Mudassir47 opened this issue 2 years ago • 6 comments

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

Md-Mudassir47 avatar Aug 11 '22 10:08 Md-Mudassir47

I have the same problem. "react-native": "^0.67.2",

Mateoooo avatar Aug 11 '22 10:08 Mateoooo

I have the same problem. "react-native": "0.66.4",

valery-lavrik avatar Aug 11 '22 10:08 valery-lavrik

@Md-Mudassir47 Are you able to share all the details about:

  • react-native version you are using
  • Slider version you were using before this error appeared
  • Slider version you are using now

This is a duplicate of already reported issue (all have the same root cause): #414 #416, I'm aware of this problem and I'm actively working on this.

BartoszKlonowski avatar Aug 11 '22 11:08 BartoszKlonowski

@Md-Mudassir47 Are you able to share all the details about:

  • react-native version you are using
  • Slider version you were using before this error appeared
  • Slider version you are using now

This is a duplicate of already reported issue (all have the same root cause): #414 #416, I'm aware of this problem and I'm actively working on this.

I've updated it

Md-Mudassir47 avatar Aug 11 '22 11:08 Md-Mudassir47

@BartoszKlonowski I managed to fix it by Removing @react-native-community/slider": "^4.2.0 Replace import Slider from '@react-native-community/slider'; -> import Slider from 'react-native-slider';

Works on both iOS & Android, Android Build is successful 🎉

Md-Mudassir47 avatar Aug 11 '22 11:08 Md-Mudassir47

@BartoszKlonowski I managed to fix it by Removing @react-native-community/slider": "^4.2.0 Replace import Slider from '@react-native-community/slider'; -> import Slider from 'react-native-slider';

Works on both iOS & Android, Android Build is successful 🎉

This is not a fix, this is just using another package, but I'm glad you have your app unblocked 👍

BartoszKlonowski avatar Aug 11 '22 11:08 BartoszKlonowski

I am facing the same issue, any solution?

luizgallas avatar Aug 16 '22 02:08 luizgallas

I am facing the same issue.

minhas-weoveri avatar Aug 17 '22 09:08 minhas-weoveri

Same issue here

dipankurXT avatar Aug 17 '22 12:08 dipankurXT

"^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

MrQureshi avatar Aug 17 '22 15:08 MrQureshi

I am facing the same issue.

one-god avatar Aug 18 '22 01:08 one-god

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

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

A little higher has already been answered

valery-lavrik avatar Aug 18 '22 05:08 valery-lavrik

The fix is now released in v4.3.1

BartoszKlonowski avatar Aug 20 '22 11:08 BartoszKlonowski

please install version 4.2.4 . It is fix me!

NguyenPhuongNam99 avatar Oct 13 '22 03:10 NguyenPhuongNam99

image Still not work

react-native v0.70.6 "@react-native-community/slider": "4.3.1",

AndrewLutsenko avatar Apr 17 '23 18:04 AndrewLutsenko