After reading this issue and trying many solutions I reach to two solutions:
-
You can delete allnode_modulesfolder and put the version ofreact-native-vector-iconsto"6.6.0"instead of"^6.6.0"and then install all packages again. absolutely, it is better to delete all caches and builds and start everything again. (NOT Recommended) -
You can install the@react-native-community/toolbar-androidby using the below command:yarn add @react-native-community/toolbar-androidOrnpm install --save @react-native-community/toolbar-android
Note: Both of these solutions are temporary, and soonly this bug will be fixed, and there is no need to install the toolbar-android package.
Prev Update
I update the package to version "^7.0.0" on my project and still, the issue remains, so this solution is currently perseverance.
New Update
This issue is fixed on version "^7.1.0" and there is no need to install the @react-native-community/toolbar-android.
But if you still need to have @react-native-community/toolbar-android, install the 0.2.1 version.