-
Notifications
You must be signed in to change notification settings - Fork 26
NoClassDefFoundError #21
Comments
|
Thanks for raising the issue. The problem is likely caused by incorrect artifact details published into the POM of the library. I assume that you can't see the transitive dependency on It seems like the deployed POMs are completely missing the I'm going to investigate the generation of the Maven artifact & POM details. Maybe it's an issue with how the new dependency configurations work in the Android Gradle Plugin (I don't want to leak the transitive dependency on JmDNS anymore, for instance, which is why it's declared as // Gradle Plugin 2.x:
compile "de.mannodermaus.rxjava2:rxbonjour:2.0.0-beta1"
apk "org.jmdns:jmdns:+"
// Gradle Plugin 3.x:
implementation "de.mannodermaus.rxjava2:rxbonjour:2.0.0-beta1"
runtimeOnly "org.jmdns:jmdns:+" |
I have confirmed the issue to be a problem with the android-maven-publish plugin (ref: wupdigital/android-maven-publish#2), where it wouldn't include the |
This has been released as |
On a new Android project using the dependency from
jcenter()
compile "de.mannodermaus.rxjava2:rxbonjour:2.0.0-beta1"
I get
java.lang.NoClassDefFoundError: de.mannodermaus.rxbonjour.discovery.SupportBonjourDiscovery$1$2
when I use
The text was updated successfully, but these errors were encountered: