【问题标题】:Installing Flutter on Raspberry Pi 4 (8 G.B.)在 Raspberry Pi 4 (8 GB) 上安装 Flutter
【发布时间】: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


【解决方案1】:

您可能需要安装 64 位树莓派操作系统映像:https://downloads.raspberrypi.org/raspios_arm64/images/

不确定它是否已经发布,但它成功了,让我可以从 Snap 安装 Flutter。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2021-12-24
    • 2021-06-03
    • 2021-03-20
    • 1970-01-01
    • 2020-08-13
    • 2021-07-11
    • 2020-09-13
    相关资源
    最近更新 更多