Gradle sync failed: Unsupported method: KotlinPlatformContainer.supports()
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.
It looks like the issue is known and tracked at:
- Jetbrains: https://youtrack.jetbrains.net/issue/KT-34143
- Google: https://issuetracker.google.com/issues/142002567