react-native-vector-icons icon indicating copy to clipboard operation
react-native-vector-icons copied to clipboard

Icon not displayed from MaterialIcons

Open BishwajitNepali opened this issue 7 years ago • 14 comments

I am using import Icon from 'react-native-vector-icons/MaterialIcons'; <Icon name="search" size={25}/> The displayed icons is a Chinese letter or sometimes letterBox in android.

BishwajitNepali avatar Jan 06 '18 05:01 BishwajitNepali

Hey, are you sure you have the latest version of the font installed? Did you try using the gradle approach?

oblador avatar Jan 08 '18 21:01 oblador

Add the following things in android/app/build.gradle

apply from: "../../node_modules/react-native-vector-icons/fonts.gradle"

and then execute react-native run-android

navinprasadk avatar Jan 22 '18 18:01 navinprasadk

@navinprasadk I same you setting too,but nothing change

Hideer avatar Mar 19 '18 06:03 Hideer

@navinprasadk Funcionando perfeitamente, obrigado.

FaustoCouto avatar Mar 22 '18 12:03 FaustoCouto

Add the following things in android/app/build.gradle

apply from: "../../node_modules/react-native-vector-icons/fonts.gradle"

and then execute react-native run-android

Yes, this solve my issue!

Woolei avatar Jul 25 '19 06:07 Woolei

Add the following things in android/app/build.gradle

apply from: "../../node_modules/react-native-vector-icons/fonts.gradle"

and then execute react-native run-android

solve my problem too thx :)

ridvanuyn avatar Nov 12 '19 05:11 ridvanuyn

This helped me too! Thank you so much!

Add the following things in android/app/build.gradle

apply from: "../../node_modules/react-native-vector-icons/fonts.gradle"

and then execute react-native run-android

aqeebimtiaz avatar Jan 18 '20 05:01 aqeebimtiaz

Add the following things in android/app/build.gradle

apply from: "../../node_modules/react-native-vector-icons/fonts.gradle"

and then execute react-native run-android

Thanks , You saved my day !

DavidPalTech avatar Feb 08 '20 00:02 DavidPalTech

what about working with expo

mufaddalhamidofficial avatar Apr 04 '20 08:04 mufaddalhamidofficial

Add the following things in android/app/build.gradle

apply from: "../../node_modules/react-native-vector-icons/fonts.gradle"

and then execute react-native run-android

thanks, it's worked

focusresearchlabs avatar Apr 06 '20 11:04 focusresearchlabs

I've run react-native link react-native-vector-icons and just fixed

rayonnunes avatar Jun 13 '20 00:06 rayonnunes

I just run react-native link react-native-vector-icons and it's fixed!

Doel-tech avatar Aug 02 '20 20:08 Doel-tech

Add the following things in android/app/build.gradle

apply from: "../../node_modules/react-native-vector-icons/fonts.gradle"

and then execute react-native run-android

this worked for me too but can anyone explain this to me!

manthan-dev7 avatar Apr 18 '21 06:04 manthan-dev7

Add the following things in android/app/build.gradle

apply from: "../../node_modules/react-native-vector-icons/fonts.gradle"

and then execute react-native run-android

you save my life thx bro

min050410 avatar Nov 07 '21 05:11 min050410