Closed PanZWarzywniaka closed 5 days ago
* What went wrong:
Could not determine the dependencies of task ':app:processDebugResources'.
> Could not resolve all dependencies for configuration ':app:debugRuntimeClasspath'.
> Could not find any matches for app.notifee:core:+ as no versions of app.notifee:core are available.
Searched in the following locations:
- https://oss.sonatype.org/content/repositories/snapshots/app/notifee/core/maven-metadata.xml
- https://repo.maven.apache.org/maven2/app/notifee/core/maven-metadata.xml
- file:/home/olek/IT/bulbs/apps/sleep-bright-app/node_modules/jsc-android/dist/app/notifee/core/maven-metadata.xml
- https://dl.google.com/dl/android/maven2/app/notifee/core/maven-metadata.xml
- https://www.jitpack.io/app/notifee/core/maven-metadata.xml
- file:/home/olek/IT/bulbs/apps/sleep-bright-app/node_modules/react-native/android/app/notifee/core/maven-metadata.xml
Required by:
project :app > project :notifee_react-native
no versions of app.notifee:core are available
https://github.com/invertase/notifee/issues?q=no+versions+of+app.notifee%3Acore+are+available
Something like this should work: https://github.com/invertase/notifee/issues/808#issuecomment-2175934609
It's a common problem unfortunately, but this is a duplicate - one of the comments in one of those issues will get the extra maven repository (pointing into our node_modules notifee directory...) added to your android gradle build then it will work
Thank you, this solution worked!
Glad to hear it - I have a goal of restructuring the repo so that it doesn't have an internal maven repo everyone has to depend on, that is I want it to just be normal java / kotlin source files like other modules and then this issue will go away completely, but that's still for the future. Good luck with your project
Hi there,
React Native newbie here.
I can build my Notifee app using eas build:
eas build --platform android --profile development
But it doesn't work when I try to build localy i.e.,npx expo run:android
.I double checkd the installation page to see if there are any compatiblity problems but cannot spot the fault. I have
openjdk 17.0.13 2024-10-15
My logs:
Any help highly appreciated!