Intercom Android SDK Crash | Community
Skip to main content

Hello, we have several crashes on our Android App with the Intercom library, see below the stacktrace if you can help us resolve this (version : 16.2.1) :

Fatal Exception: java.lang.NoClassDefFoundError

Failed resolution of: Landroidx/compose/material/icons/Icons;

keyboard_arrow_up

arrow_right

io.intercom.android.sdk.survey.ui.components.SurveyTopBarComponentKt.SurveyTopBar (SurveyTopBarComponent.kt:89)
 

Fatal Exception: java.lang.NoClassDefFoundError

Failed resolution of: Landroidx/compose/material/icons/Icons;

keyboard_arrow_up

arrow_right

io.intercom.android.sdk.survey.ui.questiontype.dropdown.DropDownQuestionKt.DropDownQuestion (DropDownQuestion.kt:102)

Hey ​@Selim 👋 Jacques here from Intercom Support. I hope all is well today!
Based on the error message, this appears to be a dependency issue with the Android SDK's Compose Material Icons. The error occurs because the required Compose Material Icons dependency is missing from your project.

To fix this issue, can you try adding the following dependency to your app's `build.gradle` file:


dependencies {

    implementation "androidx.compose.material:material-icons-extended:1.5.4"  // Use the version that matches your Compose version

}

 

If the issue persists feel free to reach out to our support team so they can dig into this a bit more for you!


@Jacques Reynolds Thank you for your response. We will try your suggestion !


Reply