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

Could not determine the dependencies of task ':react-native-paypal:compileDebugAidl'. #96

Open
acolomboNotomia opened this issue May 11, 2021 · 2 comments

Comments

@acolomboNotomia
Copy link

After install the plugin i'm getting this error on Android:
`Could not determine the dependencies of task ':react-native-paypal:compileDebugAidl'.

Could not resolve all task dependencies for configuration ':react-native-paypal:debugCompileClasspath'.
Could not resolve androidx.appcompat:appcompat:1.0.0.
Required by:
project :react-native-paypal
> Cannot find a version of 'androidx.appcompat:appcompat' that satisfies the version constraints:
Dependency path 'MyProject:react-native-paypal:unspecified' --> 'com.facebook.react:react-native:0.59.10' --> 'androidx.appcompat:appcompat:1.0.0'
Constraint path 'MyProject:react-native-paypal:unspecified' --> 'androidx.appcompat:appcompat' strictly '1.0.0' because of the following reason: debugRuntimeClasspath uses version 1.0.0
Constraint path 'MyProject:react-native-paypal:unspecified' --> 'androidx.appcompat:appcompat' strictly '1.0.0' because of the following reason: debugRuntimeClasspath uses version 1.0.0
Constraint path 'MyProject:react-native-paypal:unspecified' --> 'androidx.appcompat:appcompat' strictly '1.0.0' because of the following reason: debugRuntimeClasspath uses version 1.0.0
Constraint path 'MyProject:react-native-paypal:unspecified' --> 'androidx.appcompat:appcompat' strictly '1.0.0' because of the following reason: debugRuntimeClasspath uses version 1.0.0
Constraint path 'MyProject:react-native-paypal:unspecified' --> 'androidx.appcompat:appcompat' strictly '1.0.0' because of the following reason: debugRuntimeClasspath uses version 1.0.0
Dependency path 'MyProject:react-native-paypal:unspecified' --> 'com.braintreepayments.api:braintree:3.17.3' --> 'androidx.appcompat:appcompat:1.2.0'
Dependency path 'MyProject:react-native-paypal:unspecified' --> 'com.braintreepayments.api:braintree:3.17.3' --> 'com.braintreepayments.api:core:3.17.3' --> 'com.braintreepayments:browser-switch:1.1.3' --> 'androidx.appcompat:appcompat:1.2.0'
`

On iOS it works perfectly
I'm on React Native 0.59.10 and react-native-paypal 4.1.0

@nzankich
Copy link
Contributor

@acolomboNotomia could you check if you can compile the example app?

@acolomboNotomia
Copy link
Author

@acolomboNotomia could you check if you can compile the example app?

the example app woks perfectly!
for now i solved it using version 2.2.0 of react-native-paypal and it works!

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

2 participants