material-components / material-components-android-compose-theme-adapter

A library that enables reuse of Material themes defined in XML for theming in Jetpack Compose.
https://material-components.github.io/material-components-android-compose-theme-adapter/
Apache License 2.0
415 stars 40 forks source link

Compose-beta09-crash #70

Closed polivmi1 closed 3 years ago

polivmi1 commented 3 years ago

There seems to be in issue with the current version beta08 and new version of compose beta09

Fatal Exception: java.lang.NoSuchFieldError No field Normal of type Landroidx/compose/ui/text/font/FontStyle; in class Landroidx/compose/ui/text/font/FontStyle; or its superclasses (declaration of 'androidx.compose.ui.text.font.FontStyle' appears in ...)

bmc08gt commented 3 years ago

Most likely this will need to be updated to beta09 like other compose libaries.

ricknout commented 3 years ago

Yes, we're in the process of updating this to Compose 1.0.0-beta09. Sorry for the delay!

ricknout commented 3 years ago

It's been released: https://github.com/material-components/material-components-android-compose-theme-adapter/releases/tag/v1.0.0-beta09