BreX900 / mek-packages

10 stars 13 forks source link

Error on building the app in android emulator, when I add mek_stripe_terminal package. #65

Open mackymangampo opened 2 months ago

mackymangampo commented 2 months ago

I added the mek_stripe_terminal: ^3.4.0 on our app in pubspec.yaml, then in the android/app/build.gradle I upgrade the minSdkVersion to 26. But I don't why I'm facing an build failed on emulator but on the ios simulator doesn't have problem. I just follow the readme step on the pub.dev ref: https://pub.dev/packages/mek_stripe_terminal.

Hopefully anyone can answer my issue.

My Java version as of now is OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)

Flutter doctor image

BUILD ISSUE ON EMULATOR: image

rennyrocha commented 1 month ago

I was having the same issue, and managed to get rid of it by updating kotlin version to 1.9.0