-1
我在我的Android应用程序上实现了条纹支付一切工作正常。但是我在创建令牌时出现错误这是部分我得到的错误有谁知道为什么我在条纹支付上得到java.lang.String
Stripe stripe =new Stripe (PUBLISHABLE_KEY);
我得到的错误是Stripe (android.content.context) in Stripe cannot be applied java.Lang.String.
到PUBLISHABLE_KEY
任何人能向我解释这里发生了什么,我怎么能解决这个问题。我的编译依赖是
compile 'com.stripe:stripe-java:3.10.1'
compile 'com.stripe:stripe-android:+'
https://stripe.com/docs/mobile/android#creating-tokens-custom – cubrr