Flutter Doctor Error - Android toolchain / Android license status uknown / Exception in thread main

Flutter Doctor Error - Android toolchain / Android license status uknown / Exception in thread main
Transcript
Read and summarize the transcript of this video on Glasp Reader (beta).
Summary & Key Takeaways
The summary of this video is not yet available 😢 We summarize videos one by one, so it might take a while. If you want to get the summary now, please summarize the video with YouTube Summary extension or try Glasp Reader.
About the Video
In this video I am showing a quick solution to the error that comes after running flutter doctor: Android toolchain - develop for Android devices / Android license status unknown. Running 'flutter doctor --android-licenses' gives an additional Java error: Exception in thread ...