Closed AcousticDeveloper closed 2 months ago
I am able to solve this issue, seems like the version 0.14.0
of fvp
was causing the problem.
Bumping up the version to 0.17.0
using flutter pub upgrade --major-versions fvp
resolved the issue.
After that, flutter run
works perfectly fine.
Describe the bug/problem Trying to build apidash on a fresh install of Ubuntu fails.
This issue does not seem to be with my local flutter installation or any other components because a new flutter application runs without any error.
The issue can be due to mdk-sdk which has a build failure to the current master branch (though mentions in the commit that it is not released) which comes from fvp where version
0.16.0
mentions for preparingffmpeg 7.0
(but currently listed version inpubspec.yaml
is^0.14.0
), so that might be a reason for this issue.I think the issue is due to
mdk-sdk
becauseflutter run
downloads thenightly
build of the software.Running
flutter run
with-v
flag outputs the following (please note this is not the complete output, rather the part where the build fails)For testing purposes, I've tried to manually install
ffmpeg
usingsudo snap install ffmpeg
which installs version4.3.1
, but still the error remained.Steps to Reproduce the bug/problem
flutter
using snap by running the following commandsudo snap install flutter --classic
.flutter create --platforms=linux .
to setup flutter for linux.flutter run
.Expected behavior It should build successfully, and a new window with apidash shall open.
Device Info (The device where you encountered this issue):
OS: Ubuntu 22.04 on WSL2, Windows 11
Note: I am labeling this as a bug for API Dash because building default flutter apps work without any error. Any setup instruction on a fresh installation of Ubuntu will be helpful and can solve the issue. Thanks.