redrield
11/14/2020, 3:07 AME/AndroidRuntime: FATAL EXCEPTION: main
Process: com.redrield.androidds, PID: 15301
java.lang.NoSuchFieldError: No field Companion of type Landroidx/compose/runtime/SlotTable$Companion; in class Landroidx/compose/runtime/SlotTable; or its superclasses (declaration of 'androidx.compose.runtime.SlotTable' appears in /data/app/~~58hYPPzhGRjb56GwSeeO0g==/com.redrield.androidds-WjdLhG2Oom4gM1SnqQGjqg==/base.apk)
at androidx.compose.material.MaterialThemeKt.MaterialTheme(MaterialTheme.kt:112)
Any idea why this would be happening? It started after I added compose-navigation, even if I've cut out all reference to it where the theme composable is being called, in fact there's no content there at allBradleycorn
11/14/2020, 3:12 AMMaterialTheme
setContent {
Text(text = "Hello World")
}
The app runs fine.
but if I do this:
setContent {
MaterialTheme {
Text(text = "Hello World")
}
}
I get the error.
It’s worth noting, that I updated to 1.0.0-alpha07 … I’ve tried downgrading back to alpha06, but I’m still getting this issue?redrield
11/14/2020, 5:22 AMBradleycorn
11/14/2020, 1:36 PM