Try to open the project in Android Studio and see if you have a different error. It can be from an error you made in the kotlin files.