react-native-fast-image icon indicating copy to clipboard operation
react-native-fast-image copied to clipboard

Execution failed for task ':react-native-fast-image:javaPreCompileDebug'

Open moahammadalt opened this issue 5 years ago • 2 comments

Trying to use the package in android but whenever i install the package and run the app i am getting this error:

* What went wrong:
Execution failed for task ':react-native-fast-image:javaPreCompileDebug'.
> Could not resolve all files for configuration ':react-native-fast-image:debugCompileClasspath'.
   > Could not find core-1.0.1.jar (androidx.core:core:1.0.1).
     Searched in the following locations:
         https://dl.google.com/dl/android/maven2/androidx/core/core/1.0.1/core-1.0.1.jar

i am using these versions:

"react-native": "0.63.3",
"react-native-fast-image": "^8.3.4",

and here are my buildscripts configurations:

buildscript {
    ext {
        buildToolsVersion = "29.0.2"
        minSdkVersion = 16
        compileSdkVersion = 29
        targetSdkVersion = 29
        supportLibVersion = "29.0.0"
    }
    repositories {
        google()
        jcenter()
    }
    dependencies {
        classpath("com.android.tools.build:gradle:3.5.3")
        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }
}

I tried to clean the build and delete node_modules and yarn install, none of them worked!

Does this package really work for android or it's something i am missing?

moahammadalt avatar Feb 21 '21 20:02 moahammadalt

Is there any plans to address this? I'm not sure if Glide has been updated to fix this issue, but JCenter is shutting down which is causing this specific issue. Not sure if rnfi needs to update glide, or if glide need to be updated! JCenter shutdown

robertjcolley avatar Jun 18 '21 21:06 robertjcolley

any update on this? I am seeing the same error in RN 0.69

Andrew99xx avatar Sep 12 '24 08:09 Andrew99xx