Skip to content
This repository was archived by the owner on Jun 23, 2025. It is now read-only.
This repository was archived by the owner on Jun 23, 2025. It is now read-only.

LTS version of the Flutter package doesn't respect minimum Android SDK requirements #224

@jozsefsallai

Description

@jozsefsallai

Description
Adding the LTS version of the ffmpeg_kit_flutter package seems to result in broken behavior in terms of minimum SDK requirements on Android.

Expected behavior
App builds fine for the minimum SDK version required by the LTS version of the package.

Current behavior
Android build fails due to the SDK version not being 24, despite the readme specifying 16.

To Reproduce
Here's a reproduction repo: https://github.com/jozsefsallai/flutter-ffmpeg-kit-lts-repro

Environment

  • Platform: Flutter/Android
  • Architecture: arm64
  • Version: 4.5.0-LTS

Other
I've also tried:

  • flutter pub cache clean && flutter pub get
  • rm -rf build && rm -rf android/.gradle

After checking the cached package, I noticed that:

  • the package's pubspec specifies 4.5.0-LTS, so the correct package was installed

image

  • despite that, the build.gradle from the package still has a hard requirement for SDK ver 24

image

I think it's also worth noting that adding ffmpeg_kit_flutter: ^4.5.0-LTS to pubspec.yaml actually installed 4.5.0 (non-LTS) regardless, so I had to manually edit pubspec.lock to get the right version to install.

Metadata

Metadata

Assignees

Labels

LTSAffects LTS releasesbugSomething isn't workingfixed-in-v4.5.1flutterAffect flutter platformv4.5Affects v4.5 release

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions