jonasbark / flutter_stripe_payment

[DISCONTINUED] A flutter plugin with stripe payment plugin integration
MIT License
309 stars 244 forks source link

Android build issue with newer version #308

Open BhupinderRana opened 3 years ago

BhupinderRana commented 3 years ago

[com.stripe:payments-core:16.10.0] /Users/zimoinfotechimac1/.gradle/caches/transforms-2/files-2.1/1fc0d3e8399cb8c23bf5976e34b8c8db/payments-core-16.10.0/AndroidManifest.xml:13:9-54 Error: Missing 'package' key attribute on element package at [com.stripe:payments-core:16.10.0] AndroidManifest.xml:13:9-54 [com.stripe:payments-core:16.10.0] /Users/zimoinfotechimac1/.gradle/caches/transforms-2/files-2.1/1fc0d3e8399cb8c23bf5976e34b8c8db/payments-core-16.10.0/AndroidManifest.xml Error: Validation failed, exiting

FAILURE: Build failed with an exception.

RohithKilaparthi commented 3 years ago

Did you find any solution to this? @BhupinderRana

Can you help us with this @jonasbark @ventisep @alexstuckey @ened @philiplindberg @nicowernli

BhupinderRana commented 3 years ago

Did you find any solution to this? @BhupinderRana

Can you help us with this @jonasbark @ventisep @alexstuckey @ened @philiplindberg @nicowernli

No not yet

ened commented 3 years ago

I'd highly suggest to switch to the official stripe plugin.

riscait commented 3 years ago

In my case, I solved it with the following. https://github.com/jonasbark/flutter_stripe_payment/issues/301#issuecomment-863851927

android/build.gradle

ext.kotlin_version = '1.3.50'

classpath 'com.android.tools.build:gradle:3.5.4'

gradle-wrapper.properties

distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.4-all.zip

AndroidManifest.xml

<activity
    android:name="io.flutter.embedding.android.FlutterFragmentActivity"
jaygadariya commented 3 years ago

In my case, I solved it with the following. #301 (comment)

android/build.gradle

ext.kotlin_version = '1.3.50'

classpath 'com.android.tools.build:gradle:3.5.4'

gradle-wrapper.properties

distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.4-all.zip

AndroidManifest.xml

<activity
    android:name="io.flutter.embedding.android.FlutterFragmentActivity"

it's working in my case, Thanks