-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