pikaju / flutter-braintree

Flutter plugin that wraps the native Braintree SDKs. Enables payments with credit cards, PayPal, Google Pay and more.
https://pub.dev/packages/flutter_braintree
MIT License
65 stars 126 forks source link

I am having this error while making build for android. #80

Closed Zeeshan90 closed 3 years ago

Zeeshan90 commented 3 years ago

FAILURE: Build failed with an exception.

BUILD FAILED in 47s

pikaju commented 3 years ago

What package version are you using?

devarshkikani commented 3 years ago

What package version are you using?

version: 1.2.1 What went wrong: Could not determine the dependencies of task ':flutter_braintree:compileDebugAidl'.

Could not resolve all task dependencies for configuration ':flutter_braintree:debugCompileClasspath'. Could not resolve org.jfrog.cardinalcommerce.gradle:cardinalmobilesdk:2.2.4-1. Required by: project :flutter_braintree > com.braintreepayments.api:three-d-secure:3.15.0 Could not resolve org.jfrog.cardinalcommerce.gradle:cardinalmobilesdk:2.2.4-1. Could not get resource 'https://cardinalcommerce.bintray.com/android/org/jfrog/cardinalcommerce/gradle/cardinalmobilesdk/2.2.4-1/cardinalmobilesdk-2.2.4-1.pom'. Could not GET 'https://cardinalcommerce.bintray.com/android/org/jfrog/cardinalcommerce/gradle/cardinalmobilesdk/2.2.4-1/cardinalmobilesdk-2.2.4-1.pom'. Received status code 403 from server: Forbidden

devarshkikani commented 3 years ago

You find any solution?

danielcojocaru commented 3 years ago

Same issue here. @Zeeshan90, have you found any solution to this? It would be extremely helpful if you would post what was wrong in your case.

Zeeshan90 commented 3 years ago

Currently i didn't find any solutions for this issue. May be this solution will work maven { url "https://cardinalcommerce.bintray.com/android" credentials { username 'braintree-team-sdk@cardinalcommerce' password '220cc9476025679c4e5c843666c27d97cfb0f951' } } paste this in android/build.gradle under buildscript -> repositories

buildscript { ext.kotlin_version = '1.3.50' repositories { maven { url "https://cardinalcommerce.bintray.com/android" credentials { username 'braintree-team-sdk@cardinalcommerce' password '220cc9476025679c4e5c843666c27d97cfb0f951' } } google() jcenter() }

Zeeshan90 commented 3 years ago

@pikaju flutter_braintree: ^1.1.0 this is the version i am using

pikaju commented 3 years ago

Please upgrade to the latest version, I believe it should solve some major issues.