-
Notifications
You must be signed in to change notification settings - Fork 604
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-kit
frommavenCentral
thensmart-exception
dependency will be automatically added bygradle
. -
If you depend on
ffmpeg-kit
from a local path, then:a. You must add
implementation 'com.arthenica:smart-exception-java'
dependency to yourbuild.gradle
b. Alternatively, you can go to the Releases page, find the latest release, download the
smart-exception-common-a.b.c.jar
andsmart-exception-java-a.b.c.jar
files. 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-2024 FFmpegKit
- Status
- Versions
- Changelog
- Project Layout
- API
- Using
- Building
- External Libraries
- Patents
- License