Gradle task assembleDebug failed with exit code 1 (Runtime Exception)

后端 未结 6 1101
别那么骄傲
别那么骄傲 2020-12-21 15:53

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

6条回答
  •  天命终不由人
    2020-12-21 16:35

    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.

提交回复
热议问题