Module was compiled with incompatible version of Kotlin
Solution: This error occurs when we shift from the older SDK to the newer one.
- update Kotlin Version up-to 1.6.0 or higher
- See the below image and add those line of code in project level Build.Gradle