我在颤振应用中实现了条形支付系统,我出错了
PlatformException (PlatformException(flutter_stripe initialization failed, The plugin failed to initialize:
Your Main Activity class com.example.eres.MainActivity is not a subclass FlutterFragmentActivity.
Please make sure you follow all the steps detailed inside the README: ht
我正在尝试集成条纹支付与flutter,我已经添加了 stripe_payment: ^1.0.7 在pubspec.yml中我使用的是Flutter (Channel stable, v1.17.0, on Mac OS X 10.15.2 19C57 我收到以下错误 Could not resolve all artifacts for configuration ':stripe_payment:classpath'.
> Could not resolve org.jetbrains.
早些时候,我的项目运行没有错误,但今天我得到了以下错误。如果有人能帮我摆脱这个问题,我将不胜感激。
备注-我不使用jCenter在我的应用程序,支付sdk flutter_stripe使用jCenter
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:checkDebugAarMetadata'.
> Could not resolve all files for configuration ':app:
我正在尝试使用stripe_payment包在我的flutter应用程序中实现一个条纹支付系统。在我的代码中,我调用了Stripe.instance.initPaymentSheet(...),但是当我尝试调用Stripe.instance.presentPaymentSheet(...)仅仅过了几行,我就得到了这个错误:
flutter: StripeException(error: LocalizedErrorMessage(code: FailureCode.Failed, localizedMessage: No payment sheet has been initialized y
我在pubspec.yaml文件中使用存储库包时遇到了问题。
dependencies:
flutter:
sdk: flutter
flutter_stripe:
git:
url: https://github.com/flutter-stripe/flutter_stripe.git
ref: poc-use-expensive-androidview
按照提供的步骤执行。
但是,我得到了错误。
Could not find a file named "pubspec.yaml" in https://github.co
我正在实现Stripe在我的反应本地(博览会)应用程序。在用ExpoGO测试它时,它工作得很好,iOS也是通过Testflight构建的。然而,当CardFormField组件(由Stripe提供)呈现时,在为Android构建应用程序之后,它就会崩溃。
我在Sentry中记录了错误,这就是它出错的地方:
Binary XML file line #5 in [censored]:layout/stripe_card_form_view: Error inflating class com.google.android.material.card.MaterialCardView
Illeg