Skip to content Skip to sidebar Skip to footer

Could Not Resolve All Files For Configuration: ':app:debugruntimeclasspath'

I am attempting to implement a third party SDK bundle when I ran react-native run-android I got the following error: Execution failed for task ':app:checkDebugAarMetadata'. Could

Solution 1:

What worked for me was inside of android/build.gradle:

maven {
  url("$rootDir/..")
}

I also removed:

maven {
  url { www.jitpack.io/ }
}

So that it would not keep going to the Jitpack repo to look for that local directory.

Then inside of app/build.gradle:

dependencies {
   ...
   implementation('com.ts:auth-control-sdk:5.1.1@aar') { transitive=true }
}

Solution 2:

If you have facing Gradle dependencies iss> Task :app:mergeDebugNativeLibs FAILED

Error Image

FAILURE: Build completed with 6 failures.

Execution failed for task ':app:checkDebugDuplicateClasses'. Execution failed for task ':app:desugarDebugFileDependencies'. Execution failed for task ':app:checkDebugAarMetadata'. Execution failed for task ':app:mergeDebugAssets'. Execution failed for task ':app:mergeDebugAssets'. Execution failed for task ':app:mergeDebugNativeLibs'.ue

in android studio?

Answer: If you using ANDROID 11 in your project then try the below options Go to settings Click option to Gradle, Execution, deployment Then click build Tools Solution Image choose to gradle

Then disable the offline mode then Run

Post a Comment for "Could Not Resolve All Files For Configuration: ':app:debugruntimeclasspath'"