Davut Aslan
Davut Aslan

Reputation: 55

Invalid depfile: C:\xxx\xxx\Flutter\project_name\.dart_tool\flutter_build\df4b308df1ee4bce22c56c71751554d1\kernel_snapshot.d Invalid

I am getting the following error in flutter I am aware that it is due to old packages. I cleaned the old packages in the pubspecyaml file but my problem is not solved.

Invalid depfile: C:\xxx\xxx\Flutter\project_name.dart_tool\flutter_build\df4b308df1ee4bce22c56c71751554d1\xxx.d Invalid

Upvotes: 4

Views: 1537

Answers (2)

Jakub Rony Roncak
Jakub Rony Roncak

Reputation: 53

I had currently this error and helped me removing that {app}.dart_tool\flutter_build\df4b308df1ee4bce22c56c71751554d1 folder.

Upvotes: 1

Mert Durukan
Mert Durukan

Reputation: 108

Open the ide terminal and run the codes in order:

flutter clean
flutter pub get

I hope your problem will be solved.

Upvotes: 2

Related Questions