So I migrated a new project from groovy to Gradle kotlin dsl, and Android Studio started bugging out. I've been trying to resolve this since Friday to no avail. Can anyone please help? I've searched on StackOverflow too but it seems I'm the only one with this specific issue which is strange lol.
I am running this on Android Studio 4.2 Canary 12.