Android plugin JAR question


Ive created a jar for my plugin which was working ok. Until I used a library import inside my jar called

I now get this error from nativescript build

Error: java.lang.NoClassDefFoundError: Failed resolution of: Lorg/jcodec/api/android/SequenceEncoder;

Didn’t find class “” on path: DexPathList[[

How do I get my JAR to include this inside itself?

My build.gradle has these

dependencies {
compile fileTree(include: [’*.jar’], dir: ‘libs’)
testCompile 'junit:junit:4.12’
compile '’
compile 'org.jcodec:jcodec-android:0.1.9’
compile ‘’

I am confused



I realised I needed to put the jcodec-android-0.1.9.jar into the plugin folder ie


beside my created Jar, now it works