Getting an error while building APK while having imported the processing.video library

I am working in the processing IDE. I am getting the com.android.builder.dexing.DexArchiveBuilderException while building the APK when I have imported the processing.video library.

I have tried updating the android SDK, the IDE and the android mode for the IDE.

I have posted the entire error log over at stackoverflow here: https://stackoverflow.com/questions/64411069/com-android-builder-dexing-dexarchivebuilderexception-while-building-an-apk-pro