https://kotlinlang.org logo
h

harry248

10/29/2020, 9:16 AM
Tried to use the MdcTheme in our app but getting an “_Cannot create Typeface from ResourceFont(resId=17040217, weight=FontWeight(weight=400), style=Normal)”_ exception. Anyone experienced that before?
(we aren’t even using a custom font)
n

nickbutcher

10/29/2020, 10:20 AM
Are you using downloadable fonts?
h

harry248

10/29/2020, 10:26 AM
nope
n

Nick Rout

10/29/2020, 2:13 PM
Please report the issue on the GitHub repo: https://github.com/material-components/material-components-android-compose-theme-adapter Any additional details (which font, sample usage, etc.) and even a link to a minimal sample project would help. Thanks 🙂
3 Views