Creating project firstapp... Resolving dependencies in firstapp... (1:58.9s)

27 Views Asked by At

When I run in terminal flutter create firstapp is stuck it's showing resolving dependencies.

C:\dev>flutter create firstapp

Creating project firstapp...

Resolving dependencies in firstapp... (6:04.2s)

This Resolving dependencies only shows up when creating a first app and it took about 2-3 hours and it is still building.

Screenshot of Creating Project

1

There are 1 best solutions below

2
Pratik Lakhani On

I had the same problem and solved it by doing:

  • Uninstall VS Code dart and flutter extensions and close VS Code.
  • After this go to: vscode\extensions and remove all the files.
  • Run VS Code As Administrator.
  • Open VS Code and install dart and flutter extensions.

The cause for me might be that when you uninstall an extension files aren't erased.

I hope I helped you