Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD

flutter-ffmpeg-kit-lts-repro

steps to reproduce:

git download [email protected]:jozsefsallai/flutter-ffmpeg-kit-lts-repro.git
cd flutter-ffmpeg-kit-lts-repro
flutter pub get
flutter dev

output on android:

launching lib/main.dart on m2002j9g in debug mode...
/users/joe/projects/flutter-ffmpeg-kit-lts-repro/android/app/src/debug/androidmanifest.xml error:
	uses-sdk:minsdkversion 16 cannot be smaller than version 24 declared in library [:ffmpeg_kit_flutter] /users/joe/projects/flutter-ffmpeg-kit-lts-repro/build/ffmpeg_kit_flutter/intermediates/library_manifest/debug/androidmanifest.xml as the library might be using apis not available in 16
	suggestion: use a compatible library with a minsdk of at most 16,
		or increase this project's minsdk version to at least 24,
		or use tools:overridelibrary="com.arthenica.ffmpegkit.flutter" to force usage (may lead to runtime failures)

failure: build failed with an exception.

* what went wrong:
execution failed for task ':app:processdebugmainmanifest'.
> manifest merger failed : uses-sdk:minsdkversion 16 cannot be smaller than version 24 declared in library [:ffmpeg_kit_flutter] /users/joe/projects/flutter-ffmpeg-kit-lts-repro/build/ffmpeg_kit_flutter/intermediates/library_manifest/debug/androidmanifest.xml as the library might be using apis not available in 16
  	suggestion: use a compatible library with a minsdk of at most 16,
  		or increase this project's minsdk version to at least 24,
  		or use tools:overridelibrary="com.arthenica.ffmpegkit.flutter" to force usage (may lead to runtime failures)

* try:
run with --stacktrace option to get the stack trace. run with --info or --debug option to get more log output. run with --scan to get full insights.

* get more help at https://help.gradle.org

build failed in 9s
running gradle task 'assembledebug'...                             10.8s

the plugin ffmpeg_kit_flutter requires a higher android sdk version.
fix this issue by adding the following to the file
/users/joe/projects/flutter-ffmpeg-kit-lts-repro/android/app/build.gradle:
android {
  defaultconfig {
    minsdkversion 24
  }
}


note that your app won't be available to users running android sdks below 24.
alternatively, try to find a version of this plugin that supports these lower
versions of the android sdk.
exception: gradle task assembledebug failed with exit code 1

Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD

Top