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
java.lang.NoClassDefFoundError: Failed resolution of: Lcom/stripe/android/stripe3ds2/service/StripeThreeDs2ServiceImpl; #1470
Comments
@hamzabintariq123 thanks for filing. I'll have this fixed and issue a new release today. |
@mshafrir Great 👍 Thanks for replying . looking forward for a quick new release as we are a little short on time and we have to make changes for 3DS2 . |
@mshafrir and do we have a downgraded version which has 3DS2 support without this issue ? |
@hamzabintariq123 can you show me how you list the SDK as a dependency in Gradle? It should look something like this:
I noticed you are referencing the aar directly. Can you try removing that? |
Can you also share what versions of Android Gradle Plugin and Gradle you're using? |
@hamzabintariq123 also, what version did you upgrade from? |
|
@mshafrir-stripe i updated from |
Please refer to our installation instructions: https://github.com/stripe/stripe-android/blob/master/README.md#installation Your Gradle version is out of date. Also the way you are specifying the dependency is wrong. Please remove the |
@msaffitz-stripe do you have any version which is compatible with gradle 4.6 and have 3DS2 support . ? i am unable to update project to 5.1 as alot of libs that i use are crashing with 5.1 unfortunately :( |
Have you tried just removing the @aar part of the dependency definition? |
Yes tried that but no luck . |
@hamzabintariq123 is it the same error without |
`In project 'app-guest' a resolved Google Play services library dependency depends on another at an exact version (e.g. " Dependency failing: com.nimbusds:nimbus-jose-jwt:7.2.1 -> net.minidev:json-smart@[1.3.1,2.3], but json-smart version was The following dependencies are project dependencies that are direct or have transitive dependencies that lead to the art For extended debugging info execute Gradle from the command line with ./gradlew --info :app-guest:assembleDebug to see t |
a different one @mshafrir-stripe |
tried to integrate an old one |
@hamzabintariq123 can you share the full list of dependencies you're using? Are you using |
no i dont think i am using it anywhere . @mshafrir-stripe |
its too big of a file @mshafrir-stripe . actually we create a different file for dependencies and use that in projects where we need . |
You could also try this:
|
No luck @mshafrir-stripe . it is an internal dependency for but i am not using this any where in my project. Are you guys using it ? |
@hamzabintariq123 yes, it's required for 3DS2. At this point I highly recommend upgrading to the recommended version of Gradle, since the version you're using is unsupported. |
when i upgrade to gradle 5.1.1 i get this error @mshafrir-stripe
|
@hamzabintariq123 I'm not familiar with that error. Perhaps you can Google for similar instances of that error and see what the resolution was. Please reopen this ticket if, once you've upgraded Gradle, you're still having issues. |
@mshafrir-stripe Thanks anyway for your time . i,ll look what i can do with this 👍 |
For 3D Secure 2.
when i update the library to
"com.stripe:stripe-android:10.4.2@aar"
i am getting this error
java.lang.NoClassDefFoundError: Failed resolution of: Lcom/stripe/android/stripe3ds2/service/StripeThreeDs2ServiceImpl;
when i initialise stripe using this : Stripe = Stripe(app,KR.strings.stripe_key) the application crashes .
Where is this class StripeThreeDs2ServiceImpl defined as i cannot see that in the library that you have given
The text was updated successfully, but these errors were encountered: