google-developer-training/advanced-android-kotlin-motionlayout

Error: Unable to load class 'org.jetbrains.kotlin.cli.common.PropertiesKt'.

Opened this issue · 3 comments

When opening the project in Android Studio (4.2.1), an error message at the lower part of the IDE window says, Unable to load class 'org.jetbrains.kotlin.cli.common.PropertiesKt'.

and,

This is an unexpected error. Please file a bug containing the idea.log file.

update to the latest Android Studio and
add to your build.gradle(project)

plugins{
.....
....
id 'org.jetbrains.kotlin.android' version '(latest-version)' apply false
}

this should work

how apply ?

update to the latest Android Studio and add to your build.gradle(project)

plugins{ ..... .... id 'org.jetbrains.kotlin.android' version '(latest-version)' apply false }

this should work

Can you provide the syntax