Skip to content

Cause: org.gradle.api.internal.initialization.DefaultClassLoaderScope@3f774d2b must be locked before it can be used to compute a classpath #2

@waseefakhtar

Description

@waseefakhtar

Hi,

Does anyone experience this issue with Gradle when trying to run the project and have a solution?

Could not determine the dependencies of task ':app:mergeDebugAssets'.
> Could not resolve all dependencies for configuration ':app:debugRuntimeClasspath'.
   > A problem occurred configuring project ':onboarding:onboarding_presentation'.
      > org.gradle.api.internal.initialization.DefaultClassLoaderScope@3f774d2b must be locked before it can be used to compute a classpath!

I haven't tried other branches but I experience it so far with https://github.com/philipplackner/CalorieTracker/tree/Part2/Migrating_to_Gradle_Kotlin_DSL and with Android Studio 2020.3.1 and 2021.1.1. Any idea?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions