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.

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

See original GitHub issue

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

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:14 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
MrQureshicommented, Aug 17, 2022

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

0reactions
NguyenPhuongNam99commented, Oct 13, 2022

please install version 4.2.4 . It is fix me!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Flutter problems: "Could not resolve all artifacts for configuration
It says that the problem is in the app level gradle on line 24 (apply plugin: 'com.android.application'). The error reads: * What went...
Read more >
Could not resolve all artifacts for configuration 'classpath'
I solved the problem. File->setting->build->Gradle->Android studio checked "Enable embedded Maven repository".
Read more >
Learning the Basics - Gradle User Manual
If no settings.xml is available, Gradle uses the default location ... The build fails if none of these artifact files can be resolved....
Read more >
Fix Could Not Resolve All Artifacts For Configuration - YouTube
[Update]New Android Studio version (4.2.1) has fix this error - https://youtu.be/V-QtcwKq9Jk?t=37Fix Could Not Resolve All Artifacts For ...
Read more >
Gradle error - Unity Forum
CommandInvokationFailure: Gradle build failed. ... Could not resolve all files for configuration ':_internal_aapt2_binary'.
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