ArmNinja Academy
ArmNinja Academy

Reputation: 11

React-native and react-native-navigation error

I have question about react-native-navigation , when i am trying to start my app with command npm run android i am getting an error here is the github repo with code 'https://github.com/albert002/learn-react-native' `* What went wrong: Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'.

Could not resolve all task dependencies for configuration ':app:debugCompileClasspath'. Could not resolve project :react-native-navigation. Required by: project :app Unable to find a matching configuration of project :react-native-navigation: None of the consumable configurations have attributes.

Upvotes: 0

Views: 909

Answers (1)

Mahendra Pratap
Mahendra Pratap

Reputation: 3613

first, you should install all dependency by running the following command

npm install

then

npm start

to run react native android project run

react-native run-android

this work for me.

Upvotes: 1

Related Questions