Skip to content

Why do I get this error even though I use ./gradlew tasks --all and it doesn't work? Is there a problem? Please reply. #36

@onephones

Description

@onephones

FAILURE: Build failed with an exception.

  • What went wrong:
    Configuration cache state could not be cached: field sdkComponents$delegate of com.android.build.gradle.internal.dsl.ApplicationExtensionImpl$AgpDecorated bean found in field $extension of com.android.build.gradle.internal.tasks.factory.BootClasspathConfigImpl$1 bean found in field isJava8Compatible of com.android.build.gradle.internal.tasks.factory.BootClasspathConfigImpl bean found in field value of kotlin.InitializedLazyImpl bean found in field bootClasspathConfig$delegate of com.android.build.gradle.internal.plugins.AppPlugin bean found in field this$0 of com.android.build.gradle.internal.plugins.BasePlugin$dslServices$2$1 bean found in field versionedSdkLoaderServiceProvider of com.android.build.gradle.internal.services.DslServicesImpl bean found in field dslServices of com.android.build.gradle.internal.dsl.ComposeOptionsImpl bean found in field composeOptions of com.android.build.gradle.internal.dsl.BaseAppModuleExtension bean found in field value of groovy.lang.Reference bean found in field android of top.niunaijun.blackobfuscator.ObfPlugin$_apply_closure2 bean found in field this$0 of top.niunaijun.blackobfuscator.ObfPlugin$1 bean found in field action of org.gradle.api.internal.AbstractTask$TaskActionWrapper bean found in field actions of task :app:mergeLibDexDebug of type com.android.build.gradle.internal.tasks.DexMergingTask: error writing value of type 'kotlin.SynchronizedLazyImpl'

Could not create an instance of type com.android.build.gradle.internal.dsl.SdkComponentsImpl.
Unable to determine constructor argument #6: missing parameter of type Provider, or no service of type Provider<Provider<List>>.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions