Gradle sync failed: Unsupported method: KotlinPlatformContainer.supports()

Viewed 9064

I just updated Android Studio to the latest version 3.5.1 and I know get the following error:

Gradle sync failed: Unsupported method: KotlinPlatformContainer.supports(). The version of Gradle you connect to does not support that method. To resolve the problem you can change/upgrade the target version of Gradle you connect to. Alternatively, you can ignore this exception and read other information from the model.

I use Kotlin Multiplatform in two of my modules but I don't know if it's related.

2 Answers

Invalidate caches and Restart worked for me

You can also try restarting the IDE first, in case if you're concerned about saving local history and other cached data.

Related