Chromebook 上的 Flutter

问题描述 投票:0回答:1

我尝试在我的 Lenovo Duet Chromebook 上运行 flutter。不幸的是,我得到了

$ flutter doctor -v
~/apps/flutter/bin/internal/shared.sh: line 228: ~/apps/flutter/bin/cache/dart-sdk/bin/dart: cannot execute binary file: Exec format error
$ uname -a
Linux penguin 5.4.119-14945-gafc97d54f809 #1 SMP PREEMPT Tue Aug 10 21:44:33 PDT 2021 aarch64 GNU/Linux

$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 10 (buster)
Release:        10
Codename:       buster

怎么可能飘跑呢?

提前谢谢您,

flutter dart flutter-web google-chrome-os chromebook
1个回答
0
投票

我认为它尝试启动的可执行文件与您的 CPU 架构(aarch64)不兼容。
您可以尝试删除

<flutter location>/bin/cache
文件夹,然后再次运行
flutter doctor

© www.soinside.com 2019 - 2024. All rights reserved.