Closed jamesrogers93 closed 1 year ago
Here's the error message
Could not determine the dependencies of task ':app:processDebugResources'.
> Could not resolve all task dependencies for configuration ':app:debugRuntimeClasspath'.
> Could not find com.singular.sdk:singular_sdk:12.1.3.
Searched in the following locations:
- https://api.mapbox.com/downloads/v2/releases/maven/com/singular/sdk/singular_sdk/12.1.3/singular_sdk-12.1.3.pom
- https://oss.sonatype.org/content/repositories/snapshots/com/singular/sdk/singular_sdk/12.1.3/singular_sdk-12.1.3.pom
- https://repo.maven.apache.org/maven2/com/singular/sdk/singular_sdk/12.1.3/singular_sdk-12.1.3.pom
- file:/Users/james/Development/safepoint/frontend/callie-app/node_modules/jsc-android/dist/com/singular/sdk/singular_sdk/12.1.3/singular_sdk-12.1.3.pom
- https://dl.google.com/dl/android/maven2/com/singular/sdk/singular_sdk/12.1.3/singular_sdk-12.1.3.pom
- https://www.jitpack.io/com/singular/sdk/singular_sdk/12.1.3/singular_sdk-12.1.3.pom
- file:/Users/james/Development/safepoint/frontend/callie-app/node_modules/@notifee/react-native/android/libs/com/singular/sdk/singular_sdk/12.1.3/singular_sdk-12.1.3.pom
Required by:
project :app > project :singular-react-native
Possible solution:
- Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.html
I've just realised I placed maven { url 'https://maven.singular.net/' }
under buildscript > repositories
instead of allprojects > repositories
, Oops 😅. Will close
it just stopped working, no changes -> Could not resolve com.singular.sdk:singular_sdk:12.1.1
I've followed the project set up article here for react native, and I'm getting the error
Failed to resolve: com.singular.sdk:singular_sdk:12.1.3
when building the app for Android.Any idea what may be the problem?
// package.json