Skip to main content
Answered

Intercom SDK 15.6.2 crash on Android 5 (SDK 21)

  • February 12, 2024
  • 6 replies
  • 380 views

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 ...

 

Best answer by bernice

Hey @bartj 👋 Due to the nature of this, I’m going to pass this over to the team to take further action on this issue for you. 

View original
Did this topic help you find an answer to your question?

6 replies

bernice
Intercom Team
Forum|alt.badge.img+5
  • Intercom Team
  • 230 replies
  • Answer
  • February 12, 2024

Hey @bartj 👋 Due to the nature of this, I’m going to pass this over to the team to take further action on this issue for you. 


  • New Participant
  • 1 reply
  • February 14, 2024

We are seeing the same thing. https://developer.android.com/reference/android/content/pm/ApplicationInfo#minSdkVersion

Was not added until API 24, so this is obviously not usable in “Intercom for Android supports API 21 and above.” as stated.


  • New Participant
  • 2 replies
  • February 15, 2024

Seeing the same issue we updated from 15.6.0 → 15.6.2

One device so far: Samsung Galaxy S5, Android 6.0.1 (SDK 23) 

Of note this is happening 100% in the Background according to Firebase.

I was able to reproduce using an emulator - immediate crash at startup.  

 


  • New Participant
  • 2 replies
  • February 20, 2024

Hello! Same issue here, with over 10,000 affected users. Are there any updates on the fix? I see that the version with the bug was released three weeks ago, and downgrading isn't feasible due to incompatibilities with the compose version.


  • New Participant
  • 4 replies
  • March 15, 2024

We are seeing the same issue for our users using Android 6.
Is there any updates from intercom team? 
App just crashes on Android 6 on app start, simply because of chat SDK


Jacob Cox
Intercom Team
Forum|alt.badge.img+5
  • Sr. Technical Support Engineer
  • 441 replies
  • April 14, 2024

Hey there folks!

This issue should be fixed in our latest Android SDK!


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings