Android SDK crash | Community
Skip to main content
Answered

Android SDK crash

  • September 27, 2023
  • 1 reply
  • 328 views

I’m using same dependencies with your sample and have the crash: 
java.lang.IncompatibleClassChangeError: Found interface androidx.compose.ui.graphics.drawscope.DrawScope, but class was expected (declaration of 'androidx.compose.ui.graphics.drawscope.DrawScope'

proj lever build.gradle:
plugins {
    id 'com.android.application' version '8.1.1' apply false
    id 'com.android.library' version '8.1.1' apply false
    id 'org.jetbrains.kotlin.android' version '1.8.22' apply false
}

app level:
composeOptions {
        kotlinCompilerExtensionVersion "1.4.8"
    }

 

  def composeBom = platform('androidx.compose:compose-bom:2023.08.00')
    implementation composeBom
    androidTestImplementation composeBom

    implementation 'androidx.compose.material:material'
    implementation 'androidx.compose.ui:ui-tooling-preview'
    debugImplementation 'androidx.compose.ui:ui-tooling'

 

    implementation("io.intercom.android:intercom-sdk:15.2.2")
 

Best answer by Jacob Cox

Hi @mishmax !

Issues like this are best taken up with our Support team. That way they can easily request specific details around the situation. I’ll go ahead and send this conversation their way so they can take a look. You should hear from them via the email that you signed up with!

1 reply

Jacob Cox
Intercom Team
Forum|alt.badge.img+5
  • Sr. Technical Support Engineer
  • Answer
  • October 1, 2023

Hi @mishmax !

Issues like this are best taken up with our Support team. That way they can easily request specific details around the situation. I’ll go ahead and send this conversation their way so they can take a look. You should hear from them via the email that you signed up with!