FVM - Flutter Version Management: Managing Multiple Versions of Flutter

แชร์
ฝัง
  • เผยแพร่เมื่อ 14 ธ.ค. 2024

ความคิดเห็น • 11

  • @khusbushrestha7613
    @khusbushrestha7613 5 หลายเดือนก่อน

    Very Helpful and Great Content.

  • @maulahaz
    @maulahaz 2 ปีที่แล้ว

    Very nice and clear explanation. Thanks Sir. Keep share

  • @KristiJorgji
    @KristiJorgji ปีที่แล้ว

    15:16 - what if you run flutter --version in the terminal ? It will show your global version there I think not the one you used with fvm use

    • @cshanjib
      @cshanjib  ปีที่แล้ว

      Well, it all depends on the global path that you have set in your system. This is explained here at 13:08. If you have installed flutter in 2 different ways(ie normal way and then also fvm way), then you probably have the flutter path set to the normal flutter path. If you want to use the global version from fvm correctly, then you must update the environment variable path to “/User//fvm/default/bin”(this path is for Macos, update the path according to your platform). If you do this, then your system will take the global version set in fvm from anywhere in the system. ie(flutter -version will give the global version set in fvm and fvm flutter -version will give the projects set version if any)

    • @KristiJorgji
      @KristiJorgji ปีที่แล้ว

      @@cshanjib I understand thanks for confirming.
      Thought the same, so whatever we have in fvm is only for android studio/vs code but not for the terminal.
      If you use Android-Studio terminal flutter command it will always use whatever version is exported in the path but during builds and commands run through studio will use the linked .fvm/flutter_bin

  • @aronemalicse7888
    @aronemalicse7888 2 ปีที่แล้ว

    What if i want to run the project using F5 in vscode. does it run the command with fvm? if not, how can i add fvm prefix to the F5 action ?

    • @cshanjib
      @cshanjib  2 ปีที่แล้ว

      Assuming that you had set the flutter version correctly using the steps mentioned in the video, VSCode (and also Android studio) will use that set version while running the project either we use F5 or click the play button (in the IDE). No extra configuration is needed.

  • @PabloLopez-tz2zq
    @PabloLopez-tz2zq 2 ปีที่แล้ว

    Really nice video, thank you.

  • @crltsmrtnz
    @crltsmrtnz ปีที่แล้ว

    great!

  • @muhammadfarhan6355
    @muhammadfarhan6355 ปีที่แล้ว

    Nice Bro!

  • @dreamerkamal
    @dreamerkamal 2 ปีที่แล้ว

    very helpful keep going