首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >在覆盆子Pi 4上安装颤动(8 G.B.)

在覆盆子Pi 4上安装颤动(8 G.B.)
EN

Stack Overflow用户
提问于 2021-08-20 07:29:38
回答 1查看 451关注 0票数 2

我正在使用下面的文章在Raspberry Pi 4 https://snapcraft.io/install/flutter/raspbian#install中安装Flutter

我得到了以下错误

代码语言:javascript
复制
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架构,但无法添加。

代码语言:javascript
复制
pi@raspberrypi:~ $ sudo dpkg --print-architecture
armhf
pi@raspberrypi:~ $ sudo dpkg --add-architecture arm64
pi@raspberrypi:~ $ sudo dpkg --print-architecture
armhf

在尝试添加架构之后,我再次尝试安装Flutter

代码语言:javascript
复制
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).
EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2021-09-24 21:47:57

您可能需要安装Raspberry pi OS的64位映像:https://downloads.raspberrypi.org/raspios_arm64/images/

我不确定它是否已经发布,但它做到了,并允许我从Snap安装Flutter。

票数 2
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/68858441

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档