Skip to content
This repository has been archived by the owner on Sep 29, 2022. It is now read-only.

Smart Exception Dependency

Taner Sener edited this page Sep 27, 2022 · 1 revision

FFmpegKit Android library depends on smart-exception library to print shorter stack traces.

  1. If you install ffmpeg-kit from mavenCentral then smart-exception dependency will be automatically added by gradle.

  2. If you depend on ffmpeg-kit from a local path, your must manually import smart-exception as well. Go to the Releases page, find the latest release, download the smart-exception-common-a.b.c.jar and smart-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)
Clone this wiki locally