Installing Flutter on Raspberry Pi 4 (8 G.B.)

624

You might need to install a 64 bit image of Raspberry pi OS : https://downloads.raspberrypi.org/raspios_arm64/images/

Not sure if it's released yet, but it did the trick and allowed me to install Flutter from Snap.

Share:
624
Dark Sorrow
Author by

Dark Sorrow

Hardware, software and embedded developer.

Updated on December 31, 2022

Comments

  • Dark Sorrow
    Dark Sorrow over 1 year

    I'm using the following article to install Flutter in Raspberry Pi 4 https://snapcraft.io/install/flutter/raspbian#install

    I'm getting the following error

    pi@raspberrypi:~ $ sudo snap install flutter --classic
    error: snap "flutter" is not available on stable for this architecture (armhf) but exists on other architectures (amd64, arm64).
    

    I tried adding arm64 architecture but couldn't add.

    pi@raspberrypi:~ $ sudo dpkg --print-architecture
    armhf
    pi@raspberrypi:~ $ sudo dpkg --add-architecture arm64
    pi@raspberrypi:~ $ sudo dpkg --print-architecture
    armhf
    

    After attempting to add architecture I again tried to install Flutter

    pi@raspberrypi:~ $ sudo snap install flutter --classic
        error: snap "flutter" is not available on stable for this architecture (armhf) but exists on other architectures (amd64, arm64).
    
    • Andrej
      Andrej over 2 years
      I have the same problem… Any solutions?
    • Dark Sorrow
      Dark Sorrow over 2 years
      Still I couldn't get it working.