to solve this issue
go to your project file, then
Android > build.gradle (not the one in app>src)
change Kotlin version to the latest.
by the time I am writing this, It is
ext.kotlin_version = '1.5.21'
after updating the version, rebuild the app, Your problem might be solved.
to solve this issue go to your project file, then Android > build.gradle (not the one in app>src)
change Kotlin version to the latest. by the time I am writing this, It is ext.kotlin_version = '1.5.21' after updating the version, rebuild the app, Your problem might be solved.