Hi guys, have any of you experienced something similar? This issue has happened to me almost every time I update Android Studio to the latest version; my Flutter project always errors out after the update. The behavior is consistent, but the console error logs vary each time. However, the core problem usually revolves around the JDK.
When I tried searching for solutions online, I found some recommendations that seemed rather extreme to me and potentially introduced new problems.
Solution
Long story short, thankfully, this is not a "magic trick" but rather the result of recognizing patterns and experience. Over years of being an electronics technician, I've developed an intuition that surprisingly works in software development too. Instead of following new methods based on the displayed error messages, I decided to stick with my old notes.
Error: "Make sure Kotlin compilation is running on a JDK, not a JRE."
Thankfully, it’s SOLVED! Feel free to try it out.