braintree / braintree-android-drop-in

Braintree Drop-In SDK for Android
https://developers.braintreepayments.com/guides/drop-in/android/v2
MIT License
124 stars 78 forks source link

Could not download cardinalmobilesdk-2.2.6-1.aar #400

Closed surajappentus closed 1 year ago

surajappentus commented 1 year ago

Integration Details (please complete the following information):

implementation 'com.braintreepayments.api:drop-in:6.1.0'

Describe the bug I am trying to build project but showing in another system. It is working on a particular system which have already implemented this dependency since june 2022 in this project.

But not working in another system . I tried many solution but not worked.

Error :- Could not resolve all files for configuration ':app:debugRuntimeClasspath'.> Failed to transform cardinalmobilesdk-2.2.6-1.aar (org.jfrog.cardinalcommerce.gradle:cardinalmobilesdk:2.2.6-1) to match attributes {artifactType=android-jni, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime}.> Could not download cardinalmobilesdk-2.2.6-1.aar (org.jfrog.cardinalcommerce.gradle:cardinalmobilesdk:2.2.6-1): No cached version available for offline mode

To Reproduce getting error like this -> Could not download cardinalmobilesdk-2.2.6-1.aar

Expected behavior It should be work every system where I build the project

Screenshots

219361933-fca7f39b-273d-46e5-8e14-abfb362ec63a

ShubhAppentus commented 1 year ago

Gettng same issue please look into this @here

sshropshire commented 1 year ago

Hi @surajappentus @ShubhAppentus make sure to follow the steps listed here to add DropIn to your project. Cardinal SDK is hosted in a private artifactory repository and requires authentication.

Also please update to the latest 6.8.0 version. It's possible that Cardinal may have removed this version from their repository.

surajappentus commented 1 year ago

The latest version resolved the issue. It may be that version 6.1.0 was removed from the repository. Thank you @sshropshire for your quick response.