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:xxxxxxFlutterproject_name.dart_toolflutter_builddf4b308df1ee4bce22c56c71751554d1xxx.d
Invalid
2
Answers
Open the ide terminal and run the codes in order:
I hope your problem will be solved.
I had currently this error and helped me removing that {app}.dart_toolflutter_builddf4b308df1ee4bce22c56c71751554d1 folder.