Android build issue with newer version
BhupinderRana opened this issue · 5 comments
[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.
Did you find any solution to this? @BhupinderRana
Can you help us with this @jonasbark @ventisep @alexstuckey @ened @philiplindberg @nicowernli
Did you find any solution to this? @BhupinderRana
Can you help us with this @jonasbark @ventisep @alexstuckey @ened @philiplindberg @nicowernli
No not yet
I'd highly suggest to switch to the official stripe plugin.
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"
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