Open reactnative098 opened 5 years ago
I had this error when I upgraded to react-native 0.59.4
Fixed this for android by adding:
apply from: "../../node_modules/react-native-vector-icons/fonts.gradle"
to android/app/build.gradle
I had this error when I upgraded to react-native 0.59.4
Fixed this for android by adding:
apply from: "../../node_modules/react-native-vector-icons/fonts.gradle"
toandroid/app/build.gradle
Im also getting same error and i added apply from: "../../node_modules/react-native-vector-icons/fonts.gradle" this to android/app/build.gradle but same isssue
I solved this by changing // classpath 'com.android.tools.build:gradle:3.1.4' in react-native-vector-icons/android/build.gralde to classpath 'com.android.tools.build:gradle:3.3.1', it works for me
In android/build.gradle
, I changed:
allprojects {
repositories {
// ...
jcenter()
maven { url 'https://jitpack.io' }
}
}
to
allprojects {
repositories {
// ...
maven { url 'https://jitpack.io' }
jcenter()
}
}
And it worked...
@SamiChab it did not helped me.
Now is 4- 2022, and i'm still getting error
i'm want react-native run on mobile width wifi but get this error later run (react-native run-android) for install app into mobile and i install react-native-vector-icons but not work Thanks for your help