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

resolve error could not resolve all artifacts for configuration ':react-native-vector-icons: classpath'.

Open reactnative098 opened this issue 6 years ago • 6 comments
trafficstars

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

error  react-native run android1

error  react-native run android2

reactnative098 avatar May 18 '19 18:05 reactnative098

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

Balanced02 avatar May 20 '19 08:05 Balanced02

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

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

patthipati avatar May 21 '19 11:05 patthipati

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

AliTalebi avatar May 28 '19 21:05 AliTalebi

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 avatar Mar 22 '20 18:03 SamiChab

@SamiChab it did not helped me.

coolvasanth avatar Apr 12 '20 07:04 coolvasanth

Now is 4- 2022, and i'm still getting error

caolong0204 avatar Apr 19 '22 04:04 caolong0204