Could not find org.jfrog.cardinalcommerce.gradle:cardinalmobilesdk:2.2.4-1.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I need to integrate PayPal payment in android app. Im using Native Checkout SDK.
This error occur when I run the app:
* What went wrong:
Execution failed for task ':app:mergeDebugNativeLibs'.
> Could not resolve all dependencies for configuration ':app:debugRuntimeClasspath'.
The project declares repositories, effectively ignoring the repositories you have declared in the settings.
You can figure out how project repositories are declared by configuring your build to fail on project repositories.
See https://docs.gradle.org/7.0.2/userguide/declaring_repositories.html#sub:fail_build_on_project_reposi... for details.
> Could not find org.jfrog.cardinalcommerce.gradle:cardinalmobilesdk:2.2.4-1.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/org/jfrog/cardinalcommerce/gradle/cardinalmobilesdk/2.2.4-1/...
- https://repo.maven.apache.org/maven2/org/jfrog/cardinalcommerce/gradle/cardinalmobilesdk/2.2.4-1/car...
- https://jcenter.bintray.com/org/jfrog/cardinalcommerce/gradle/cardinalmobilesdk/2.2.4-1/cardinalmobi...
Required by:
project :app > com.paypal.checkout:android-sdk:0.2.0
- Labels:
-
Mobile SDKs
-
REST SDK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
For me it helped to put the definition of the maven repository for cardinal into the project's setting.gradle instead of the build.gradle (as it is described in PayPals documentation). Hope this helps. Good luck! You'll need it working with PP for mobile...
settings.gradle
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
mavenCentral()
maven {
url "https://cardinalcommerceprod.jfrog.io/artifactory/android"
credentials {
// Be sure to add these non-sensitive credentials in order to retrieve dependencies from
// the private repository.
username 'paypal_sgerritz'
password 'AKCp8jQ8tAahqpT5JjZ4FRP2mW7GMoFZ674kGqHmupTesKeAY2G8NcmPKLuTxTGkKjDLRzDUQ'
}
}
}
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Jenselense Thanks to you , im less stressed 🙂 , in paypal documentation said, u have to add it in build.gradle not in settings.gradle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm facing below error
Could not find method dependencyResolutionManagement() for arguments [settings_2x1i7m6a42jq
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- Receiving a PAYMENT.SALE.COMPLETED webhook notification - how can I trace the parent Subscription in REST APIs
- The current address of the company in REST APIs
- Need help to integrate PayPal Checkout Advanced (PPCP) with WooCommerce in PayPal Upgrade Community
- Handling payouts that are being on hold/blocked in REST APIs
- Paypal Pay button generates GENERIC_ERROR in PayPal Payments Standard