Replies: 10 comments 3 replies
-
Same problem. dependencies:
flutter_stripe: 10.0.0
dependency_overrides:
stripe_platform_interface: 10.0.0
stripe_android: 10.0.0
stripe_ios: 10.0.0 |
Beta Was this translation helpful? Give feedback.
-
Then It was working ? |
Beta Was this translation helpful? Give feedback.
-
@lpylpyleo can you please share your theme.xml, manifest, and gradle files ? For me it is not working |
Beta Was this translation helpful? Give feedback.
-
@Philnue can you try setting the gradle version to 8.1.4 |
Beta Was this translation helpful? Give feedback.
-
Only for Android ? I try but I think I tried all variants of changes. @Migo-17. I alsocreated a new project only with stripe not working. Most of the Time I get. The version of Metadata is 1.9.0 but expected version is 1.7.1 and I dont know how to fix it |
Beta Was this translation helpful? Give feedback.
-
@Philnue Try running |
Beta Was this translation helpful? Give feedback.
-
@lpylpyleo I already did, I am testing an older Git Commit which was working correctly and testing it. The funny thing is the older one is working the latest with the same chagnes not working. I compared everything. So I am gonna go with the oldest and make the changes there. THe older commit is using 9.5.1+1 Version of Flutter Stripe |
Beta Was this translation helpful? Give feedback.
-
yes, only changing the android version fixed it for me |
Beta Was this translation helpful? Give feedback.
-
@Migo-17 how exactly can you change the android version ? The compile sdk |
Beta Was this translation helpful? Give feedback.
-
I would recommend looking at the troubleshoot page and check if all requirements for android are met: https://docs.page/flutter-stripe/flutter_stripe/troubleshooting |
Beta Was this translation helpful? Give feedback.
-
Describe the bug
I am getting an error for the adaption for the themes when building
Expected behavior
A clear and concise description of what you expected to happen.
`plugins {
id "com.android.application"
id "kotlin-android"
id "dev.flutter.flutter-gradle-plugin"
}
def localProperties = new Properties()
def localPropertiesFile = rootProject.file('local.properties')
if (localPropertiesFile.exists()) {
localPropertiesFile.withReader('UTF-8') { reader ->
localProperties.load(reader)
}
}
def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
if (flutterVersionCode == null) {
flutterVersionCode = '1'
}
def flutterVersionName = localProperties.getProperty('flutter.versionName')
if (flutterVersionName == null) {
flutterVersionName = '1.0'
}
android {
namespace "com.x.x"
compileSdkVersion 31
ndkVersion flutter.ndkVersion
compileOptions {
sourceCompatibility JavaVersion.VERSION_11
targetCompatibility JavaVersion.VERSION_11
}
}
flutter {
source '../..'
}
dependencies {
// implementation 'com.google.android.material:material:'
}
`
This is my app/build.gradle
`buildscript {
ext.kotlin_version = '1.8.10'
repositories {
google()
mavenCentral()
}
}
allprojects {
repositories {
google()
mavenCentral()
}
}
rootProject.buildDir = '../build'
subprojects {
project.buildDir = "${rootProject.buildDir}/${project.name}"
}
subprojects {
project.evaluationDependsOn(':app')
}
tasks.register("clean", Delete) {
delete rootProject.buildDir
}`
THis is the project build.gradle file
And copied the themes from guide
Execution failed for task ':app:processReleaseResources'.
Beta Was this translation helpful? Give feedback.
All reactions