A Computer Science Engineer from Karnataka, India. There were a lot of cool things I learn working in multiple projects and I wanted to share that knowledge and here I am 😎
I am unable to run android app. When I run yarn android I am getting this error.
FAILURE: Build failed with an exception.
* Where:
Script '<Project Path>/monorepo/node_modules/react-native/react.gradle' line: 34
* What went wrong:
A problem occurred configuring project ':app'.
> Failed to notify project evaluation listener.
> Couldn't determine CLI location. Please set `project.ext.react.cliPath` to the path of the react-native cli.js
How to update project.ext.react.cliPath path?
Can anyone suggest what changes did I miss?
A Computer Science Engineer from Karnataka, India. There were a lot of cool things I learn working in multiple projects and I wanted to share that knowledge and here I am 😎
A Computer Science Engineer from Karnataka, India. There were a lot of cool things I learn working in multiple projects and I wanted to share that knowledge and here I am 😎
I am unable to run android app. When I run
yarn android
I am getting this error.How to update
project.ext.react.cliPath
path?Can anyone suggest what changes did I miss?
I found it. Thank you. I needed to add
cliPath
insideproject.ext.react
in app/build.gradlehow did you do that, could you please add a screenshot or something ?
I apologies for the late response.
Basically what you need to do is go to
mobile/android/app/build.gradle
and update the file as show below.If you want to jump right into the code then you can check out my repo, I have updated the setup.