Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not determine the dependencies of task ':app:processDevDebugResources'. #45

Open
mohdadnaanazam opened this issue Sep 23, 2023 · 5 comments

Comments

@mohdadnaanazam
Copy link

mohdadnaanazam commented Sep 23, 2023

When installing it throws this error
`Could not determine the dependencies of task ':app:processDevDebugResources'.

Could not resolve all task dependencies for configuration ':app:devDebugRuntimeClasspath'.
Could not find com.smallcase.gateway:sdk:3.9.8.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/com/smallcase/gateway/sdk/3.9.8/sdk-3.9.8.pom
- file:/Users/adnaan/Desktop/Personal/finoyou/node_modules/react-native/android/com/smallcase/gateway/sdk/3.9.8/sdk-3.9.8.pom
- file:/Users/adnaan/Desktop/Personal/finoyou/node_modules/jsc-android/dist/com/smallcase/gateway/sdk/3.9.8/sdk-3.9.8.pom
- https://artifactory.smallcase.com/artifactory/gradle-dev-local/com/smallcase/gateway/sdk/3.9.8/sdk-3.9.8.pom
- https://www.jitpack.io/com/smallcase/gateway/sdk/3.9.8/sdk-3.9.8.pom
- https://repo.maven.apache.org/maven2/com/smallcase/gateway/sdk/3.9.8/sdk-3.9.8.pom
- file:/Users/adnaan/Desktop/Personal/finoyou/node_modules/@notifee/react-native/android/libs/com/smallcase/gateway/sdk/3.9.8/sdk-3.9.8.pom
Required by:
project :app > project :react-native-smallcase-gateway`

I checked in https://artifactory.smallcase.com/artifactory/gradle-dev-local/com/smallcase/gateway/sdk/
and as i found that v3.9.8 doesn't exist

Screenshot 2023-09-23 at 5 41 35 PM
@mohdadnaanazam
Copy link
Author

@ankit-deshmukh can you please check this ?

@AjayGol
Copy link

AjayGol commented Jan 12, 2024

can you please check this ?

@AjayGol
Copy link

AjayGol commented Jan 15, 2024

@mohdadnaanazam @ankit-deshmukh any solution for your side?

@AjayGol
Copy link

AjayGol commented Jan 18, 2024

Issue is resolve you can try this
Paste this code

android/app/build.gradle:

allprojects {
    repositories {
        maven {
            url "https://artifactory.smallcase.com/artifactory/SCGateway"
            credentials {
                username "react_native_user"
                password "reactNativeUser123"
            }
        }
    }
}

@danklad
Copy link

danklad commented May 21, 2024

@AjayGol I don't think this solves the problem
The complete error for me is

`FAILURE: Build failed with an exception.

  • What went wrong:
    Could not determine the dependencies of task ':app:processDebugResources'.

Could not resolve all task dependencies for configuration ':app:debugRuntimeClasspath'.
Could not find com.smallcase.gateway:sdk:3.13.0.
Searched in the following locations:
- file:/Users/spurge/Desktop/liquide-app/node_modules/react-native/android/com/smallcase/gateway/sdk/3.13.0/sdk-3.13.0.pom
- file:/Users/spurge/Desktop/liquide-app/node_modules/jsc-android/dist/com/smallcase/gateway/sdk/3.13.0/sdk-3.13.0.pom
- https://artifactory.smallcase.com/artifactory/gradle-dev-local/com/smallcase/gateway/sdk/3.13.0/sdk-3.13.0.pom
- https://dl.google.com/dl/android/maven2/com/smallcase/gateway/sdk/3.13.0/sdk-3.13.0.pom
- https://repo.maven.apache.org/maven2/com/smallcase/gateway/sdk/3.13.0/sdk-3.13.0.pom
- https://www.jitpack.io/com/smallcase/gateway/sdk/3.13.0/sdk-3.13.0.pom
- https://oss.sonatype.org/content/repositories/snapshots/com/smallcase/gateway/sdk/3.13.0/sdk-3.13.0.pom
Required by:
project :app > project :react-native-smallcase-gateway
Could not find com.smallcase.loans:sdk:2.1.2.
Searched in the following locations:
- file:/Users/spurge/Desktop/liquide-app/node_modules/react-native/android/com/smallcase/loans/sdk/2.1.2/sdk-2.1.2.pom
- file:/Users/spurge/Desktop/liquide-app/node_modules/jsc-android/dist/com/smallcase/loans/sdk/2.1.2/sdk-2.1.2.pom
- https://artifactory.smallcase.com/artifactory/gradle-dev-local/com/smallcase/loans/sdk/2.1.2/sdk-2.1.2.pom
- https://dl.google.com/dl/android/maven2/com/smallcase/loans/sdk/2.1.2/sdk-2.1.2.pom
- https://repo.maven.apache.org/maven2/com/smallcase/loans/sdk/2.1.2/sdk-2.1.2.pom
- https://www.jitpack.io/com/smallcase/loans/sdk/2.1.2/sdk-2.1.2.pom
- https://oss.sonatype.org/content/repositories/snapshots/com/smallcase/loans/sdk/2.1.2/sdk-2.1.2.pom
Required by:
project :app > project :react-native-smallcase-gateway

  • Try:

Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.
`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants