Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

java.lang.NoClassDefFoundError: on Android 6 devices #231

Open
tmeinhart opened this issue Jul 9, 2021 · 1 comment
Open

java.lang.NoClassDefFoundError: on Android 6 devices #231

tmeinhart opened this issue Jul 9, 2021 · 1 comment
Assignees

Comments

@tmeinhart
Copy link

Hi, i'm faceing the following error only on Android 6 devices.

java.lang.NoClassDefFoundError: org.komamitsu.fluency.validation.-$$Lambda$Validatable$ValidationList$3dXUFzTXYaDFnydovw7PMF63p0c
        at org.komamitsu.fluency.validation.Validatable$ValidationList.<clinit>(Validatable.java:51)
        at org.komamitsu.fluency.validation.Validatable$-CC.$default$validate(Validatable.java:119)
        at org.komamitsu.fluency.fluentd.ingester.sender.TCPSender$Config.validate(TCPSender.java)
        at org.komamitsu.fluency.fluentd.ingester.sender.TCPSender$Config.validateValues(TCPSender.java:120)
        at org.komamitsu.fluency.fluentd.ingester.sender.TCPSender.<init>(TCPSender.java:56)
        at org.komamitsu.fluency.fluentd.FluencyBuilderForFluentd.createBaseSender(FluencyBuilderForFluentd.java:209)
        at org.komamitsu.fluency.fluentd.FluencyBuilderForFluentd.createBaseSender(FluencyBuilderForFluentd.java:154)
        at org.komamitsu.fluency.fluentd.FluencyBuilderForFluentd.build(FluencyBuilderForFluentd.java:124)
        at ch.qos.logback.more.appenders.FluencyLogbackAppender.start(FluencyLogbackAppender.java:41)
...

At the moment i'm using the following dependencies:

implementation 'org.komamitsu:fluency-core:2.5.1'
implementation 'org.komamitsu:fluency-fluentd:2.5.1'
implementation 'com.sndyuk:logback-more-appenders:1.8.6'

Do you have an idea, what i'm missing here?

@komamitsu komamitsu self-assigned this Jul 28, 2021
@komamitsu
Copy link
Owner

@tmeinhart How about trying Android's desugaring feature https://developer.android.com/studio/write/java8-support#library-desugaring ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants