while starting a flutter application on vs code i am getting the following errors.
Launching lib\\main.dart on RMX1801 in debug mode... Exception in
For VS Code. if All answers are not working. do this.
I was finally able to solve the problem. The problem is with the gradle and low internet bandwidth. Just delete the C:\Users\USERNAME.gradle\wrapper\dists\gradle-5.6.2-all and download it manually from [https://downloads.gradle-dn.com/distributions/gradle-5.6.2-all.zip] or delete the old gradle files and let them download manually by using flutter run Be sure to check your gradle version before proceeding.