wolfenrain / fluttium

Fluttium, the user flow testing tool for Flutter

Home Page:https://fluttium.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

fix: Error during installation `Can't load Kernel binary: Invalid kernel binary format version.`

diskwriter opened this issue · comments

Description

When trying to install the fluttium_cli using the command provided in the docs flutter pub global activate fluttium_cli
the command itself completes successfully but I am unable to run the fluttium command.

It outputs the following error:
Can't load Kernel binary: Invalid kernel binary format version. Could not find a file named "pubspec.yaml" in "/Users/jensgyselinck/.pub-cache/hosted/pub.dev/fluttium_cli-0.1.0-dev.15".

Steps To Reproduce

flutter pub global activate fluttium_cli
fluttium
Can't load Kernel binary: Invalid kernel binary format version.
Could not find a file named "pubspec.yaml" in "/Users/jensgyselinck/.pub-cache/hosted/pub.dev/fluttium_cli-0.1.0-dev.15".

Expected Behavior

Fluttium runs

Additional Context

Flutter Doctor output:

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.3.7, on macOS 13.3.1 22E772610a darwin-arm, locale en-BE)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0-rc3)
[✓] Xcode - develop for iOS and macOS (Xcode 14.2)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2022.1)
[✓] VS Code (version 1.79.2)
[✓] Connected device (3 available)
[✓] HTTP Host Availability

• No issues found!```

I am on an m2 macbook pro with MacOS Ventura 13.3.1

Thanks for opening an issue! It seems you are using Flutter 3.3 which is quite an old version of Flutter (in Flutter space) and Fluttium does not support it. I recommend updating it if you want to try out Fluttium.