I used react-native-vector-icons in my react native project and start app with npm start
.
Icons are displaying normally in iOS, but won't show in android.
Things I tried:
react-native run-android
to start app. Icon shows normal but what I want is integrating react native with my existing android app, not a totally RN app.None of above works
So, should I add something to my existing android app?
I don't know how to solve this problem
[email protected] [email protected] [email protected] node v5.10.1 npm v3.8.3
Installation of React Native Vector Icons. 1. Open your react native project folder in command prompt and execute the below code: npm install react-native-vector-icons --save.
Open android/app/build.gradle
and add the following:
apply from: "../../node_modules/react-native-vector-icons/fonts.gradle"
You can follow the instructions to properly install the module on Android: react-native-vector-icons#install-android
I am having the same issue and I fixed it this by executing:
react-native link react-native run-android
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With