'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.

  • What went wrong: Execution failed for task ':app:checkDebugAarMetadata'.

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



Solution 1:[1]

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

Solution 2:[2]

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'
     }

Solution 3:[3]

you should update your FLIPPER_VERSION inside gradle.proprties file

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Vishnu kk
Solution 2 Govind Maheshwari
Solution 3 mpt madhushan