{{-- react-native-vector-icons peer installation failed --}}
The react-native-vector-icons is always not installed.
I follow up the installation instruction by using
But this doesn't seem to link the package correctly.
I follow up the installation instruction by using
rnpm link.But this doesn't seem to link the package correctly.
Probabilities:
- This might be the problem if your rootProject name is not correct at all places.
- rnpm link might not work all the time.
- In case of android
- If React Native version in your app >= 0.29
<div style="padding-bottom: 20px;">
<b>Solution 1:</b> <br />
Check your rootProject name in react-native-vector-icons's <b><i>font.gradle</i></b>, in case if its hard coded there. This causes failure in linking because the rootProject name may not be same with the definition in <b><i>settings.gradle</i></b>.
</div>
<b>Solution 2:</b> <br />
Please complete the installation procedure for <b>react-native-vector-icons</b> by taking up the
<a href="{{ url( 'getting-started#installing-peer-dependencies' ) }}">
manual setup
</a> mentioned in the docs.
</div>
</div>