After cloning this project you'll need to run:
-
Go to the
android/
directory of your react-native project -
Create a file called
local.properties
with this line: -
Open the file
-
paste your Android SDK path like below
- in Windows
sdk.dir = C:\\Users\\USERNAME\\AppData\\Local\\Android\\sdk
- in macOS
sdk.dir = /Users/USERNAME/Library/Android/sdk
- in linux
sdk.dir = /home/USERNAME/Android/Sdk
- in Windows
Replace USERNAME
with your user name
Just in case npm install
doesn´t correctly install al dependencies you can try installing them manually like so:
-
npm install @react-navigation/native
-
npm install react-native-reanimated react-native-gesture-handler react-native-screens react-native-safe-area-context @react-native-community/masked-view
-
npm install @react-navigation/stack
-
npm install @react-navigation/material-top-tabs react-native-tab-view
- See full Documentation here: https://reactnavigation.org/docs/en/getting-started.html
npm install react-native-paper
npm install react-native-vector-icons
npx react-native link react-native-vector-icons