Closed prestontw closed 1 year ago
Checking out the version list URL for linux, it seems like the dart arch is only x86
or nothing:
❯ curl -sL "${versionListUrl}" | jq '.releases[] | .dart_sdk_arch' | sort | uniq
null
"x64"
Installing through flutter outside of asdf works for aarch64, though... 🤔
Let me check if there's a beta or nightly version that has an associated dart version that supports aarch64!
I got this to work by checking out the beta
branch inside the "stable" branch. Trying to install a -beta
or -pre
version to match the version I'm actually using resulted in errors.
pre-commit-in-worktree on pre-commit-in-worktree is 📦 v1.0.0+1 via 🎯 took 19s
❯ flutter --version
Flutter 3.7.0-1.2.pre • channel beta • https://github.com/flutter/flutter.git
Framework • revision c29b09b878 (2 weeks ago) • 2022-12-19 18:30:12 -0600
Engine • revision 8c99b0feaf
Tools • Dart 2.19.0 (build 2.19.0-444.2.beta) • DevTools 2.20.0
pre-commit-in-worktree on pre-commit-in-worktree is 📦 v1.0.0+1 via 🎯 v2.19.0-444.2.beta
❯ vim .tool-versions
pre-commit-in-worktree on pre-commit-in-worktree is 📦 v1.0.0+1 via 🎯 v2.19.0-444.2.beta took 3s
❯ asdf install
flutter 3.3.10-stable is already installed
pre-commit-in-worktree on pre-commit-in-worktree is 📦 v1.0.0+1 via 🎯 v2.19.0-444.2.beta
❯ vim .tool-versions # changing to be beta channel
pre-commit-in-worktree on pre-commit-in-worktree [!] is 📦 v1.0.0+1 via 🎯 took 7s
❯ asdf install
Cannot find the download url for the version: 3.7.0-beta
pre-commit-in-worktree on pre-commit-in-worktree [!] is 📦 v1.0.0+1 via 🎯
❯ vim .tool-versions # changing to use `-pre` suffix
pre-commit-in-worktree on pre-commit-in-worktree [!] is 📦 v1.0.0+1 via 🎯 took 3s
❯ asdf install
Cannot find the download url for the version: 3.7.0-pre
Hello! Thank you for the plugin. I was working on reproducing a weird installation error I ran into when using asdf and flutter in a virtual machine, when I ran into the below error:
Running
uname -a
:asdf-flutter
gets the correct version on macOS, but it seems to always get the amd version on linux?