Anish Mohd
Anish Mohd

Reputation: 21

Plz someone tell me how to solve this problem

Task :app:checkDebugAarMetadata FAILED 4 actionable tasks: 2 executed, 2 up-to-date

FAILURE: Build failed with an exception.

Could not resolve all files for configuration ':app:debugRuntimeClasspath'. Could not find com.facebook.fresco:fresco:2.2.0. Searched in the following locations: - file:/C:/Users/anees/.m2/repository/com/facebook/fresco/fresco/2.2.0/fresco-2.2.0.pom - file:/R:/project_01/node_modules/react-native/android/com/facebook/fresco/fresco/2.2.0/fresco-2.2.0.pom - file:/R:/project_01/node_modules/jsc-android/dist/com/facebook/fresco/fresco/2.2.0/fresco-2.2.0.pom - https://dl.google.com/dl/android/maven2/com/facebook/fresco/fresco/2.2.0/fresco-2.2.0.pom - https://repo.maven.apache.org/maven2/com/facebook/fresco/fresco/2.2.0/fresco-2.2.0.pom - https://www.jitpack.io/com/facebook/fresco/fresco/2.2.0/fresco-2.2.0.pom Required by: project :app > com.facebook.flipper:flipper-fresco-plugin:0.75.1 project :app > com.facebook.flipper:flipper-fresco-plugin:0.75.1 > com.facebook.fresco:flipper:2.2.0

Upvotes: 0

Views: 4291

Answers (3)

mpt madhushan
mpt madhushan

Reputation: 48

you should update your FLIPPER_VERSION inside gradle.proprties file

Upvotes: 1

Vishnu kk
Vishnu kk

Reputation: 11

Change your fresco version to 2.3.0. This worked for me.

Upvotes: 1

Govind Maheshwari
Govind Maheshwari

Reputation: 422

add this in android/app/build.gradle

     implementation 'com.facebook.fresco:fresco:2.0.0'
     implementation 'com.facebook.fresco:animated-gif:2.0.0'

     debugImplementation("com.facebook.flipper:flipper-fresco- 
    plugin:${FLIPPER_VERSION}") {
    exclude group:'com.facebook.flipper'
     }

Upvotes: 0

Related Questions