I am trying to compile a hello-world react-native app that has WatermelonDB configured. I am following the instructions given here and and here to set up the project for Watermelon.
I have found that if I install WatermelonDB using
yarn add @nozbe/watermelondb
the application launches correctly in android and iOS. But if I install from github:
yarn add https://github.com/Nozbe/WatermelonDB.git
I get the following error:
Does anyone know why installing directly from github results in this error when running the application?

Add these lines in
android/app/build.gradleadd this in
dependenciesthen
syncafter thatclean the project, build folder, gradlew and idea
also