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
64 stars 119 forks source link

Could not determine the dependencies of task ':flutter_braintree:compileDebugAidl'. #49

Closed marcoheine closed 3 years ago

marcoheine commented 3 years ago

Hi,

when I want to build the Android App, I get this error:

FAILURE: Build failed with an exception.

  • 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 find org.jfrog.cardinalcommerce.gradle:cardinalmobilesdk:2.2.4-1. Required by: project :flutter_braintree > com.braintreepayments.api:three-d-secure:3.14.2`

Version 1.1.0+1

daoibrahim commented 3 years ago

Same issue here. Any solution?

nicolobozzato commented 3 years ago

I think the new hotfix didn't implement these lines of code in the android/build.gradle

        maven {
            url "https://cardinalcommerce.bintray.com/android"
            credentials {
                username 'braintree-team-sdk@cardinalcommerce'
                password '220cc9476025679c4e5c843666c27d97cfb0f951'
            }
        }

Like indicated here: https://developers.braintreepayments.com/guides/3d-secure/migration/android/v3

Hope @pikaju can fix that. In the meanwhile to avoid the problem I'm using the fork made by another user here in this thread https://github.com/pikaju/flutter-braintree/issues/43

RalphNoel commented 3 years ago

Same issue, can you give the solution for this ? @marcoheine

abbas-25 commented 3 years ago

same issue, tried multiple solutions. Can't gather what I am missing? Anyone with a solution, please?

mensur-durakovic commented 3 years ago

@marcoheine same problem here, so I downgraded to version 1.1.0 and it works fine.

@pikaju is version 1.1.0 safe to use? I saw some security changes mentioned in description...

pikaju commented 3 years ago

Sorry for the wait, this is (hopefully) fixed in version 1.2.1.

jmarrr commented 3 years ago

@pikaju This issue still persist I have flutter_braintree: ^1.2.1 on my pubspec

mensur-durakovic commented 3 years ago

@jmarrr same here, it is still throwing the same error.

@pikaju I suggest you make fresh new clean project, try to follow the steps in the readme and it is reproducable 100%, try it on any Android device or emulator, it is the same.

andesappal commented 3 years ago

Issue is back on scene https://github.com/pikaju/flutter-braintree/issues/74

andesappal commented 3 years ago

This worked https://developer.paypal.com/braintree/docs/guides/3d-secure/client-side#generate-a-client-token