-
Notifications
You must be signed in to change notification settings - Fork 25
Smart Exception Dependency
FFmpegKitNext Android library depends on smart-exception library to print shorter stack traces.
-
If you use the local Maven repository created by the
FFmpegKitNextbuild scripts, no additionalsmart-exceptionsetup is required. The generated POM declaressmart-exception-javaas a transitive dependency, so Gradle adds it automatically -
If you add
ffmpeg-kit-next.aarmanually to your project, you must add thesmart-exceptiondependency manually:implementation 'com.arthenica:smart-exception-java:0.2.1'Alternatively, 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 JAR files manually into your project.
If you don't add the smart-exception dependency when using the .aar manually, 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) 2026 FFmpegKitNext
- Status
- Versions
- Changelog
- Project Layout
- Using
- Building
- External Libraries
- Patents
- License