Answered

Android SDK crash

  • 27 September 2023
  • 1 reply
  • 187 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")
 

icon

Best answer by Jacob Cox 1 October 2023, 18:03

View original

1 reply

Userlevel 4
Badge +5

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!

Reply