I created a new app using npx react-native init MyApp then installed and set up colo-loco using yarn install-colo-loco
The iOS version works well, while the Android one doesn't.
Whenever I run yarn android I get this error:
What went wrong:
A problem occurred evaluating settings 'android'.
/Users/a7medev/.gradle/daemon/app does not exist.
The problem I guess is that it's looking for the "app" folder (Source folder I picked in the install script) in the .gradle/daemon folder (I changed "app" to "src" and got an error with .../.gradle/daemon/src does not exist.
I created a new app using
npx react-native init MyApp
then installed and set up colo-loco usingyarn install-colo-loco
The iOS version works well, while the Android one doesn't. Whenever I runyarn android
I get this error:Error: Command failed: ./gradlew app:installDebug -PreactNativeDevServerPort=8081
FAILURE: Build failed with an exception.
Where: Script '/private/tmp/ColoLocoTest/node_modules/react-native-colo-loco/scripts/android.groovy' line: 10
What went wrong: A problem occurred evaluating settings 'android'.
The problem I guess is that it's looking for the "app" folder (Source folder I picked in the install script) in the
.gradle/daemon
folder (I changed "app" to "src" and got an error with.../.gradle/daemon/src does not exist.