-
Notifications
You must be signed in to change notification settings - Fork 17
Description
I followed the set up directions for android but i get the following errors
Project with path ':react-native-navigation2' could not be found.
this is located in the settings.gradle file which looks like this
`rootProject.name = 'Foyer'
include ':react-native-fast-image'
project(':react-native-fast-image').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-fast-image/android')
include ':react-native-maps'
project(':react-native-maps').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-maps/lib/android')
include ':react-native-google-places'
project(':react-native-google-places').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-google-places/android')
include ':react-native-vector-icons'
project(':react-native-vector-icons').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-vector-icons/android')
project(':react-native-navigation2').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-navigation/lib/android/app/')
include ':react-native-maps'
project(':react-native-maps').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-maps/lib/android')
include ':app'`
as per the directions for setting up android.
if I include (':react-native-navigation2')
O receive the following error
`A problem occurred evaluating project ':app'.
Project with path ':react-native-navigation' could not be found in project ':app'.`
located in app/.build.gradle
the dependencies section of build.gradle looks like this
dependencies { implementation project(':react-native-fast-image') implementation project(':react-native-maps') implementation project(':react-native-google-places') implementation project(':react-native-vector-icons') implementation fileTree(dir: "libs", include: ["*.jar"]) implementation "com.android.support:appcompat-v7:23.0.1" implementation "com.facebook.react:react-native:+" implementation project(':react-native-navigation') implementation(project(':react-native-maps')){ exclude group: 'com.google.android.gms', module: 'play-services-base' exclude group: 'com.google.android.gms', module: 'play-services-maps' } implementation 'com.google.android.gms:play-services-base:10.0.1' implementation 'com.google.android.gms:play-services-maps:10.0.1' }
as per the directions..
any idea what is going on?