Open cadeath opened 5 years ago
I think the problem is caused by gradle / react-native-vector-icons version conflicts.
NativeBase-VectorIconApp
uses gradle 2.2.3 ver. (https://github.com/GeekyAnts/NativeBase-VectorIconApp/blob/master/android/build.gradle#L8)
Gradle 2.2.3 cannot recognize google()
directive in build.gradle. However, react-native-vector-icons
>= 6.1.0 uses this directive.
If someone wants to fix this problem, there are two solutions.
react-native-vector-icons@4.6.0
npm install react-native-vector-icons@4.6.0
npm install
npm run start
or react-native start
npm run android
(react-native run-android
) or npm run ios
(react-native run-ios
)
I think https://github.com/GeekyAnts/NativeBase-VectorIconApp/commit/447174ae6bf4d66140694cd2b3452471cdf29bb5#diff-8ee2343978836a779dc9f8d6b794c3b2 causes this issue.
Sorry for this post, but I am having problem on running this git. Or maybe I don't know how...
Can you please provide a quick guide? thanks