Unexpected hassle with Arial font on Android device in Expo


#1

I’m logging an application that works on ios on Android.
The app have TextInput and Text components and a few other components.

I’m getting the following error.

fontFamily 'Arial' is not a system font and has not been loaded through Exponent.Font.loadAsync.

I’m not actually explicitly specifying a font on any styles.
Apart from finding an Arial font and loading it … does anyone know why this would be happening and how to get around it?


#2

hello! there is probably a library that you are using that includes it. try searching node_modules for Arial, it’ll show you which library is using it.

Android doesn’t include Arial, so if you do want to use that then you’ll need to load it


#3

Thanks notbrent.

Cheers

Keith