6

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).
2
  • I have the same problem… Any solutions?
    – Andrej
    Commented Sep 20, 2021 at 19:37
  • Still I couldn't get it working. Commented Sep 21, 2021 at 10:30

1 Answer 1

3

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.