【发布时间】:2021-08-20 07:29:37
【问题描述】:
我正在使用下面的文章在树莓派 4 中安装 Flutter https://snapcraft.io/install/flutter/raspbian#install
我收到以下错误
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).
【问题讨论】:
-
我也有同样的问题……有什么解决办法吗?
-
仍然无法正常工作。
标签: flutter raspberry-pi raspberry-pi4