This project is an Android Studio plugin version of BlackObfuscator, it supports obfuscating code automatically. More information about this project are in BlackObfuscator.
Apache License 2.0
422
stars
121
forks
source link
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
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>>.
FAILURE: Build failed with an exception.
sdkComponents$delegate
ofcom.android.build.gradle.internal.dsl.ApplicationExtensionImpl$AgpDecorated
bean found in field$extension
ofcom.android.build.gradle.internal.tasks.factory.BootClasspathConfigImpl$1
bean found in fieldisJava8Compatible
ofcom.android.build.gradle.internal.tasks.factory.BootClasspathConfigImpl
bean found in fieldvalue
ofkotlin.InitializedLazyImpl
bean found in fieldbootClasspathConfig$delegate
ofcom.android.build.gradle.internal.plugins.AppPlugin
bean found in fieldthis$0
ofcom.android.build.gradle.internal.plugins.BasePlugin$dslServices$2$1
bean found in fieldversionedSdkLoaderServiceProvider
ofcom.android.build.gradle.internal.services.DslServicesImpl
bean found in fielddslServices
ofcom.android.build.gradle.internal.dsl.ComposeOptionsImpl
bean found in fieldcomposeOptions
ofcom.android.build.gradle.internal.dsl.BaseAppModuleExtension
bean found in fieldvalue
ofgroovy.lang.Reference
bean found in fieldandroid
oftop.niunaijun.blackobfuscator.ObfPlugin$_apply_closure2
bean found in fieldthis$0
oftop.niunaijun.blackobfuscator.ObfPlugin$1
bean found in fieldaction
oforg.gradle.api.internal.AbstractTask$TaskActionWrapper
bean found in fieldactions
of task:app:mergeLibDexDebug
of typecom.android.build.gradle.internal.tasks.DexMergingTask
: error writing value of type 'kotlin.SynchronizedLazyImpl'