简体   繁体   中英

Gradle Error while running flutter project in Android Studio

I am completely new to flutter . Yesterday I installed flutter, added path variables and it works straight from cmd . I also created a project using cmd and opened it in Android Studio . Import of Dart and Flutter plugins has done, too.

Then what the problem could be here ?

Gradle_Error

This error means that a file that Gradle has downloaded has become corrupted.

Delete the .gradle directories in both your home directory and in your project's root directory and try building again.

you need to delete cache of android studio and restart build of the project . go to file in android studio and click in invalidate cache screen

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM