skip to Main Content

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


  1. Open the ide terminal and run the codes in order:

    flutter clean
    
    flutter pub get
    

    I hope your problem will be solved.

    Login or Signup to reply.
  2. I had currently this error and helped me removing that {app}.dart_toolflutter_builddf4b308df1ee4bce22c56c71751554d1 folder.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search