google / iosched

The Google I/O Android App
Apache License 2.0
21.77k stars 6.2k forks source link

Unresolved reference. None of the following candidates is applicable because of receiver type mismatch: #401

Open vladlenak opened 2 years ago

vladlenak commented 2 years ago

Hey. I just cloned the project and updated Gradle. How can i solve this problem?

e: /Users/me/iosched/ar/build.gradle.kts:67:9: Unresolved reference. None of the following candidates is applicable because of receiver type mismatch: public inline operator fun <T : Any, C : NamedDomainObjectContainer<TypeVariable(T)>> TypeVariable(C).invoke(configuration: Action<NamedDomainObjectContainerScope<TypeVariable(T)>>): TypeVariable(C) defined in org.gradle.kotlin.dsl public operator fun Closure<TypeVariable(T)>.invoke(): TypeVariable(T) defined in org.gradle.kotlin.dsl public operator fun Closure<TypeVariable(T)>.invoke(x: Any?): TypeVariable(T) defined in org.gradle.kotlin.dsl public operator fun Closure<TypeVariable(T)>.invoke(vararg xs: Any?): TypeVariable(T) defined in org.gradle.kotlin.dsl public operator fun Callable<TypeVariable(V)>.invoke(): TypeVariable(V) defined in org.gradle.kotlin.dsl public operator fun <T, R> DeepRecursiveFunction<TypeVariable(T), TypeVariable(R)>.invoke(value: TypeVariable(T)): TypeVariable(R) defined in kotlin public operator fun Action<in TypeVariable(T)>.invoke(target: TypeVariable(T)): Unit defined in org.gradle.kotlin.dsl public operator fun NamedDomainObjectProvider<TypeVariable(T)>.invoke(action: TypeVariable(T).() -> Unit): Unit defined in org.gradle.kotlin.dsl public operator fun ArtifactHandler.invoke(configuration: ArtifactHandlerScope.() -> Unit): Unit defined in org.gradle.kotlin.dsl public operator fun DependencyConstraintHandler.invoke(configuration: DependencyConstraintHandlerScope.() -> Unit): Unit defined in org.gradle.kotlin.dsl public inline operator fun ExtraPropertiesExtension.invoke(initialValueProvider: () -> TypeVariable(T)): InitialValueExtraPropertyDelegateProvider<TypeVariable(T)> defined in org.gradle.kotlin.dsl public operator fun ExtraPropertiesExtension.invoke(initialValue: TypeVariable(T)): InitialValueExtraPropertyDelegateProvider<TypeVariable(T)> defined in org.gradle.kotlin.dsl public operator fun Spec<TypeVariable(T)>.invoke(arg: TypeVariable(T)): Boolean defined in org.gradle.kotlin.dsl public inline operator fun TaskContainer.invoke(configuration: TaskContainerScope.() -> Unit): TaskContainer defined in org.gradle.kotlin.dsl

FAILURE: Build failed with an exception.

BUILD FAILED in 1s

jeddchoi commented 2 years ago

+1 same

lbrown-travelbrands commented 2 years ago

+1 same using AndroidStudio BumbleBee Patch 1, Gradle plugin version 7.1.1

jaeho-lee104 commented 2 years ago

Please check this PR. https://github.com/google/iosched/pull/402

Damercy commented 2 years ago

+1 Facing same issue. 😞