Hello everyone, currently facing this issue where I am unable to flutter run my project. Every time I try to do so, I run into this problem. I have followed instructions online to clean up via Powershell accordingly, but I am still stuck with this issue.
Thus, any form of help is greatly appreciated thank you!
Please never anywhere share screenshots of text if you only want to share the text and not something additional like colors or IDE annotations. Text in images is hard to read, especially on mobile, very hard to copy, and nearly impossible to search for.
Besides that, you question is actually not really Gradle related more than that you use Gradle to run your build. You have two compilation errors in your MainActivity.kt file and you need to fix them.