Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
onephones opened this issue Jan 4, 2024 · 0 comments

Comments

@onephones
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant