radarlabs / react-native-radar

React Native module for Radar, the leading geofencing and location tracking platform
https://radar.com
Apache License 2.0
170 stars 32 forks source link

ERROR: In <declare-styleable> FontFamilyFont, unable to find attribute android:fontVariationSettings #15

Closed jaxoncreed closed 6 years ago

jaxoncreed commented 6 years ago

Installing and setting up react-native radar will cause the following errors when building for Android:

ERROR: In <declare-styleable> FontFamilyFont, unable to find attribute android:fontVariationSettings
ERROR: In <declare-styleable> FontFamilyFont, unable to find attribute android:ttcIndex

I think the problem may be similar to the one here, though the solution lies in an update to com.android.support:support but it doesn't seem as if radar uses that.

I've posted more details on my specific build on this stack overflow post

russellcullen commented 6 years ago

See https://github.com/radarlabs/react-native-radar/issues/14#issuecomment-374576648 for resolution. You must exclude support lib from react-native-radar to prevent support library conflicts. We're working on a fix for this now

jaxoncreed commented 6 years ago

Thanks so much!