Unleash / unleash-android-proxy-sdk

https://docs.getunleash.io/unleash-android-proxy-sdk
Apache License 2.0
8 stars 16 forks source link

Crash on Android 5 #43

Closed ehsan323 closed 5 months ago

ehsan323 commented 1 year ago

Describe the bug

After running on android 5, i got crash.

Steps to reproduce the bug

No response

Expected behavior

No response

Logs, error output, etc.

java.lang.NoClassDefFoundError: io.getunleash.metrics.HttpMetricsReporter$$ExternalSyntheticLambda1
        at io.getunleash.metrics.HttpMetricsReporter.log(MetricsReporter.kt:108)

Screenshots

No response

Additional context

No response

Unleash version

0.5.0

Subscription type

Open source

Hosting type

Self-hosted

SDK information (language and version)

21

chriswk commented 1 year ago

Hi @ehsan323. We need some more information in order to help you with this. Is your proguard.rules keeping io.getunleash classes?

Using the sample here and targeting a 21 VM, it works as expected, you error message seems to point at io.getunleash classes not being included.

vahid-m commented 1 year ago

I have similar problem. The only workaround I found is that disable metrics on Android 5.1 and 6

Tymek commented 5 months ago

We will consider it closed. We are open for contributions, but we don't intend to provide more support for significantly out of date versions.