Ask Your Question
2

The "flutter pub get" command needs to be run again due to changes in the pubspec.lock file compared to the .dart_tool/package_config.json file.

asked 2021-06-03 11:00:00 +0000

bukephalos gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2022-11-03 14:00:00 +0000

pufferfish gravatar image

This means that the dependencies listed in the pubspec.yaml file have been updated, but the changes have not yet been reflected in the .darttool/packageconfig.json file.

The solution to this is to run the "flutter pub get" command again in the terminal. This will update the dependencies listed in .darttool/packageconfig.json file to match those in the pubspec.yaml file, and ensure that the app is using the latest versions of the required packages.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2021-06-03 11:00:00 +0000

Seen: 9 times

Last updated: Nov 03 '22