Smart Exception Dependency - tanersener/ffmpeg-kit GitHub Wiki
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, your must manually importsmart-exception
as well. Go to the Releases page, find the latest release, download thesmart-exception-common-a.b.c.jar
andsmart-exception-java-a.b.c.jar
files. Then import both of these jars into your project.
If you don't add smart-exception
dependency, ffmpeg-kit
methods may fail with the following exception.
java.lang.NoClassDefFoundError: Failed resolution of: Lcom/arthenica/smartexception/java/Exceptions;
at com.arthenica.ffmpegkit.FFmpegKitConfig.(FFmpegKitConfig.java:90)