6

.../node_modules/react-native-screens/android/src/main/java/com/swmansion/rnscreens/ScreenStackHeaderConfig.java:26: error: cannot find symbol import com.facebook.react.views.text.ReactTypefaceUtils; ^ symbol: class ReactTypefaceUtils location: package com.facebook.react.views.text

.../node_modules/react-native-screens/android/src/main/java/com/swmansion/rnscreens/ScreenStackHeaderConfig.java:247: error: cannot find symbol Typeface titleTypeface = ReactTypefaceUtils.applyStyles( ^ symbol: variable ReactTypefaceUtils location: class ScreenStackHeaderConfig

.../node_modules/react-native-screens/android/src/main/java/com/swmansion/rnscreens/ScreenStackHeaderConfig.java:377: error: cannot find symbol mTitleFontWeight = ReactTypefaceUtils.parseFontWeight(fontWeightString); ^ symbol: variable ReactTypefaceUtils location: class ScreenStackHeaderConfig

I am using "react": "16.9.0", "react-native": "0.61.5", "react-native-screens": "^3.1.1",

3
  • Same issue have you found any solution ? Commented Jun 8, 2021 at 6:32
  • 1
    @KishanBharda I have fixed these issue by updating gradle using android studio. Commented Jun 9, 2021 at 10:36
  • @Xhirazi what version of Gradle did you upgrade to? Commented Jul 13, 2021 at 13:12

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.