console.error : “fontFamily ”Material Icons" is not a system font and has not been loaded through Font.loadAsync
问题 I'm trying to add an icon from react-native-vector-icons/MaterialIcons: import Icon from 'react-native-vector-icons/MaterialIcons'; <View style={styles.picture}> { <Icon name="add-circle" onPress={() => alert("Add Picture")} color="green" /> } </View> but i'm getting: console.error : "fontFamily "Material Icons" is not a system font and has not been loaded through Font.loadAsync I tried using Font.loadAsync await Font.loadAsync({'MaterialIcons': require('@expo/vector-icons/fonts/MaterialIcons