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

Failed to resolve: com.klarna.mobile:sdk:2.6.17 #251

Open
lkrasovsky opened this issue Jun 10, 2024 · 4 comments
Open

Failed to resolve: com.klarna.mobile:sdk:2.6.17 #251

lkrasovsky opened this issue Jun 10, 2024 · 4 comments

Comments

@lkrasovsky
Copy link

lkrasovsky commented Jun 10, 2024

Unable to resolve Klarna dependency.

> Could not find com.klarna.mobile:sdk:2.6.17.
     Searched in the following locations:
       - https://oss.sonatype.org/content/repositories/snapshots/com/klarna/mobile/sdk/2.6.17/sdk-2.6.17.pom
       - https://repo.maven.apache.org/maven2/com/klarna/mobile/sdk/2.6.17/sdk-2.6.17.pom
       - file:/Users/lkrasovsky/Code/AndroidStudioProjects/flip-fit-mobile/node_modules/jsc-android/dist/com/klarna/mobile/sdk/2.6.17/sdk-2.6.17.pom
       - https://dl.google.com/dl/android/maven2/com/klarna/mobile/sdk/2.6.17/sdk-2.6.17.pom
       - https://www.jitpack.io/com/klarna/mobile/sdk/2.6.17/sdk-2.6.17.pom
       - file:/Users/lkrasovsky/.m2/repository/com/klarna/mobile/sdk/2.6.17/sdk-2.6.17.pom
       - https://jcenter.bintray.com/com/klarna/mobile/sdk/2.6.17/sdk-2.6.17.pom
       - https://x.klarnacdn.net/mobile-sdk/com/klarna/mobile/sdk/2.6.17/sdk-2.6.17.pom
       - https://cardinalcommerceprod.jfrog.io/artifactory/android/com/klarna/mobile/sdk/2.6.17/sdk-2.6.17.pom
     Required by:
         project :app > project :react-native-klarna-inapp-sdk
image

https://x.klarnacdn.net/ returns 404.
The same thing for other repositories above.

@NMGuner
Copy link
Member

NMGuner commented Jun 12, 2024

"https://x.klarnacdn.net/mobile-sdk/com/klarna/mobile/sdk/2.6.17/sdk-2.6.17.pom" is a valid path, could this be an issue with the network instead?

@lkrasovsky
Copy link
Author

"https://x.klarnacdn.net/mobile-sdk/com/klarna/mobile/sdk/2.6.17/sdk-2.6.17.pom" is a valid path, could this be an issue with the network instead?

I've just connected to another network and it finally succeed. But in Android Studio it still responds with the same error. And sometimes may throw a 404 error in browser.
image

I managed to download the .pom file and paste in into this folder: file:/Users/lkrasovsky/.m2/repository/com/klarna/mobile/sdk/2.6.17/. Currently have another issue. I'll reply here when it's resolved.

@mikeAdutskevich
Copy link

@lkrasovsky Hi, have you managed to resolve the issue?

@lkrasovsky
Copy link
Author

lkrasovsky commented Dec 12, 2024 via email

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