Skip to content
the poor coder

Unrecognised font family React native vector icon

Poor Man
Published
Reading time
1 min read
On this page

Unrecognised font family React native vector icon#

If you are facing the error message "Unrecognised font family React native vector icon" while using React Native Vector Icons in your project, it means that the required font files for the icons are not being properly processed or loaded.

There are several reasons why this error might occur, including:

  • Incorrect installation or setup of the React Native Vector Icons library
  • Missing or incorrect font file references in your project
  • Issues with the local font cache or device font cache

To resolve this issue, you can try the following solutions:

1. Reinstall React Native Vector Icons#

If the library was not installed correctly, you may need to reinstall it. This can be done using the following command:

Text
npm install react-native-vector-icons

Make sure to also link the library using the following command:

Text
react-native link react-native-vector-icons

2. Check Font File References#

Make sure all font files are referenced correctly in your project. You can check this by navigating to the location of the icons in your project and ensuring that the font files are present and referenced correctly in your code.

3. Clear Device Font Cache#

Sometimes issues can arise with device font caches. To clear the cache on iOS, navigate to Settings → General → Reset → Reset All Settings. On Android, navigate to Settings → Apps → System Apps → Fonts → Storage → Clear Data.

If none of the above solutions work, you can try using a different icon library or creating your own custom font file for your icons.

Keep going

2023

how to sort an array

How to Sort an Array If you have an array and you want to order its elements in a specific way, you need to use a sorting algorithm. There are several sorting algorithms available, but two of the most commonly used are…

javascript2 min read
2023

jquery mobile or desktop

jQuery Mobile or Desktop? As a web developer, I have had some experience with both jQuery Mobile and jQuery Desktop. Both frameworks have their pros and cons, and which one to use really depends on the specific project…

javascript1 min read
2023

node.js folder structure

Node.js Folder Structure If you are new to Node.js, it can be daunting to create a folder structure that will work for your project. The structure you choose will depend on the size and complexity of your project. Here…

javascript1 min read
ESC