It seems that the new Intercom SDK is not working on Android Lollipop as there’s no minSdkVersion field in the ApplicationInfo class. This happened after the DeviceUtils.getAppMinSdkVersionVersion
method was added in 15.6.2.
Fatal Exception: java.lang.NoSuchFieldError: No instance field minSdkVersion of type I in class Landroid/content/pm/ApplicationInfo; or its superclasses (declaration of 'android.content.pm.ApplicationInfo' appears in /system/framework/framework.jar)
at io.intercom.android.sdk.utilities.commons.DeviceUtils.getAppMinSdkVersionVersion(DeviceUtils.java:32)
at io.intercom.android.sdk.metrics.MetricTracker.<init>(MetricTracker.java:608)
at io.intercom.android.sdk.metrics.MetricTracker.<init>(MetricTracker.java:597)
at io.intercom.android.sdk.Injector.getMetricTracker(Injector.java:249)
at io.intercom.android.sdk.Injector.getOverlayPresenter(Injector.java:272)
at io.intercom.android.sdk.Injector.getResetManager(Injector.java:325)
at io.intercom.android.sdk.Injector.getLifecycleTracker(Injector.java:303)
at io.intercom.android.sdk.Injector.initWithAppCredentials(Injector.java:131)
at io.intercom.android.sdk.Intercom$Companion.create(Intercom.kt:1125)
at io.intercom.android.sdk.Intercom$Companion.initialize(Intercom.kt:1038)
at ...