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
聲明，近期發現有平台大量盜用文章內容，若您發現內文非來自關於網路那些事 [https://adon988.logdown.com](https://adon988.logdown.com) ，希望您與我聯繫 [https://www.facebook.com/ThinkingWebsite](https://www.facebook.com/ThinkingWebsite)