Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trying to get flutter pi working, but fails with "Artifacts for engine x are not yet available." #462

Closed
ToberoCat opened this issue Dec 7, 2024 · 1 comment

Comments

@ToberoCat
Copy link

I followed the instructions in the README file, but I can't seem to get it working.

Everything seemed fine until I tried running the build command, which failed with the following output:

tobias@tobias-G5-KC:~/Downloads/sample$ flutterpi_tool build --arch=arm64 --cpu=pi3 --release
Downloading flutterpi-aarch64-linux-gnu-release.tar.xz...        1,475ms
Downloading flutterpi-aarch64-linux-gnu-debug.tar.xz...          1,422ms
Downloading flutterpi-arm-linux-gnueabihf-release.tar.xz...        969ms
Downloading flutterpi-arm-linux-gnueabihf-debug.tar.xz...        1,718ms
Downloading flutterpi-x86_64-linux-gnu-release.tar.xz...         1,173ms
Downloading flutterpi-x86_64-linux-gnu-debug.tar.xz...           1,123ms
Artifacts for engine a18df97ca57a249df5d8d68cd0820600223ce262 are not yet available.

I'm running this on Ubuntu 24.04. I'm very new to Flutter and related tools, so I'm not sure what this error means or how to resolve it. Any help would be appreciated!

@ToberoCat
Copy link
Author

I fxied the issue. Here's what helped me (Answered by anlumo on the flutter discord):

it means that there are no engine binaries with that hash here: https://github.com/ardera/flutter-engine-binaries-for-arm/tags
so, you're running some version of Flutter that's not supported by the download tool. You have to either build it yourself or use a different version of Flutter.
I just checked, the hash is from the latest version 3.24.5, but the engine is only available up to 3.24.4. Usually they're released pretty quickly after a Flutter upgrade, but maybe @ardera is busy right now.
Revert to 3.24.4 to fix this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant