Flutter SDK path modification

After modification has the following warning

Warning! The 'flutter' tool you are currently running is from a different Flutter repository than the one last used by this package. The repository from which the 'flutter' tool is currently executing will be used instead.

 

This can happen when you have multiple copies of flutter installed. Please check your system path to verify that you are running the expected version (run 'flutter --version' to see which flutter is on your path).

-----------------------------------------------------------------------------------------

 

flutter packages upgrade to update the look

Note that you need to update before the call to confirm path flutter, path configuration for the new path of correctness,

--Version can see the path currently used by flutter, you can check if an incorrect environment variable, if still incorrect, you can try to restart the computer or ide.

Published 371 original articles · won praise 32 · views 240 000 +

Guess you like

Origin blog.csdn.net/perfectnihil/article/details/103237454