1

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

2 Answers 2

2

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

Sign up to request clarification or add additional context in comments.

Comments

1

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.

1 Comment

Thanks ! I deleted the old one and replaced it with a new one. It works !

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.