For someone who is still looking for answer to this, here is the working solution for this problem. In your project level open build.gradle file, increase the
ext.kotlin_version from whatever current version that you have like 1.5.0, to the latest stable version 1.6.0 (Whatever is latest at that time). Thanks
You can get latest version from here:
https://kotlinlang.org/docs/releases.html#release-details