我正在使用下面的文章在Raspberry Pi 4 https://snapcraft.io/install/flutter/raspbian#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).我尝试添加arm64架构,但无法添加。
pi@raspberrypi:~ $ sudo dpkg --print-architecture
armhf
pi@raspberrypi:~ $ sudo dpkg --add-architecture arm64
pi@raspberrypi:~ $ sudo dpkg --print-architecture
armhf在尝试添加架构之后,我再次尝试安装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).发布于 2021-09-24 21:47:57
您可能需要安装Raspberry pi OS的64位映像:https://downloads.raspberrypi.org/raspios_arm64/images/
我不确定它是否已经发布,但它做到了,并允许我从Snap安装Flutter。
https://stackoverflow.com/questions/68858441
复制相似问题