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-kitfrommavenCentralthensmart-exceptiondependency will be automatically added bygradle. -
If you depend on
ffmpeg-kitfrom a local path, your must manually importsmart-exceptionas well. Go to the Releases page, find the latest release, download thesmart-exception-common-a.b.c.jarandsmart-exception-java-a.b.c.jarfiles. 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)