In the development of RN process, using react-native-swiper expansion,
When ios preview normal display, but Android has made an error: fontFamily 'Arial' is not a system font and has not been loaded through Expo.Font.loadAsync...
I am using create-react-native-app and Expo
Obviously, the reason for the error is less Arial font
Go online to find a solution, to provide solutions as follows:
Method 1. Installation of missing fonts
First, download Arial fonts
Put "Arial.ttf" in project，and import:
Method 2. Remove fontFamily
Open the file
Remove buttonText's fontFamily: 'Arial'
This solution has been committed