Closed courville closed 4 years ago
Hi,
it looks like your error comes from junit-3.8.1.jar
.
My library does not depend on it directly, but It seems like it is transitively included:
\--- org.apache.xmlrpc:xmlrpc-client:3.1.3
\--- org.apache.xmlrpc:xmlrpc-common:3.1.3
\--- org.apache.ws.commons.util:ws-commons-util:1.0.2
+--- junit:junit:3.8.1
\--- xml-apis:xml-apis:1.0.b2
For the time being, you need to exclude junit transitive dependency in your project, e.g. like this:
compile('com.github.wtekiela:opensub4j:0.2.3') {
exclude group: 'junit', module: 'junit'
}
Will fix in 0.2.4
.
Thanks for the quick feedback, it works with your proposed fix. Will pick up 0.2.4 when available.
@courville released 0.2.4
Hi,
I am trying to switch to opensub4j in my Nova Video Player android application and when adding in dependencies
implementation 'com.github.wtekiela:opensub4j:0.2.3'
I cannot build anymore my application and R8 throws the following error:Would you have any workaround or recommendation?
Thank you for your work and contribution.