How to Resolve Android Stripe Error?

We have used flutter stripe payment.

How to resolve flutter stripe payment error on an android studio.

Some times due to different android studio version flutter stripe payment gives an error for the first time installation.

We are giving you the steps to resolve the stripe payment issues.

  • Open Only(I said only) Android project on android studio.

  • Clean and build project.

  • It will take time to download all build and gradles.

Some times it will generate flutter error for stripe packages.

you just press shift button two times on the android studio and search StripeDialod.kt and open the file.

How to resolve Stripe Payment Error.

You will see

dialog.setTitle(title)

You just have to replace it with the bellow code and your error will remove.

Build and run the project on actual device.

dialog?.setTitle(title)

​