Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Running any flutter commands says 'Could not install <version>'

I am handling different flutter version via fvm. Running ‘fvm flutter –version’ simply displays

Could not install 2.8.1

Upon running ‘fvm flutter –version’ , it should return the current flutter version which is not coming to my case. Please help!

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

Check .fvm folder under your app root directory and make sure the flutter_sdk pointed correctly. In general all your flutter_sdk will be kept under users directory like in Mac, it will be
/Users/< name >/fvm/version/< specific-version >.

just create a symbolic link of the sdk_version under .fvm should work.

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading