zyra / cordova-plugin-stripe

A Cordova plugin that lets you use Stripe's Native SDKs for Android and iOS.
MIT License
93 stars 57 forks source link

com.google.android.gms.internal.zzbck not found #60

Open sengoontoh opened 5 years ago

sengoontoh commented 5 years ago

I'm getting the following error when building for android. I fixed it by revving up com.google.android.gms:play-services-wallet:16.0.0 in plugin.xml.

@ihadeed Is this the right thing to do?

platforms/android/app/src/main/java/com/zyramedia/cordova/stripe/CordovaStripe.java:128: error: cannot access zzbck

                PaymentData paymentData = PaymentData.getFromIntent(intent);
                                                     ^

class file for com.google.android.gms.internal.zzbck not found Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details.

drugoi7 commented 5 years ago

I have exactly the same problem.

drugoi7 commented 5 years ago

I solved with the following plugin and comand:

cordova plugin add cordova-android-play-services-gradle-release --variable play-services-location=17.0.0