I am trying to build my react-native app but I am getting an error:
What went wrong: A problem occurred configuring project ':react-native-vector-icons'.
Could not resolve all files for configuration ':react-native-vector-icons:classpath'.
Could not find any matches for com.android.tools.build:gradle:2.3.+ as no versions of com.android.tools.build:gradle are available.
I have tried the following commands:
I have tried everything I can find on how to resolve this but I cannot get this error to go away. Does anyone know how to resolve this react-native-vector-icons build fail error?
You have to uninstall the react-native-vector-icons plugin first. Then, reinstall it. Just type:
$ npm uninstall react-native-vector-icons
$ npm install --save react-native-vector-icons
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