forked from arthenica/ffmpeg-kit
-
Notifications
You must be signed in to change notification settings - Fork 0
Smart Exception Dependency
Taner Sener edited this page Sep 16, 2023
·
2 revisions
FFmpegKit Android library depends on smart-exception library to print shorter stack traces.
-
If you install
ffmpeg-kitfrommavenCentralthensmart-exceptiondependency will be automatically added bygradle. -
If you depend on
ffmpeg-kitfrom a local path, then:a. You must add
implementation 'com.arthenica:smart-exception-java'dependency to yourbuild.gradleb. Alternatively, you can go to the Releases page, find the latest release, download the
smart-exception-common-a.b.c.jarandsmart-exception-java-a.b.c.jarfiles. And, import both of these jars manually into your project as well.
If you don't add smart-exception dependency, ffmpeg-kit methods will fail with the following exception.
java.lang.NoClassDefFoundError: Failed resolution of: Lcom/arthenica/smartexception/java/Exceptions;
at com.arthenica.ffmpegkit.FFmpegKitConfig.(FFmpegKitConfig.java:90)
Copyright (c) 2021-2025 FFmpegKit
- Status
- Versions
- Changelog
- Project Layout
- API
- Using
- Building
- External Libraries
- Patents
- License