#Donovan -“strong fighter.”

1 messages · Page 1 of 1 (latest)

finite solarBOT
neat beacon
#

Hello, not quite sure I understand your question. Can you clarify what you are trying to do here?

spark cloak
#

I'm trying to build an app to make earned in-app payments to my bank accounts. Via Stripe for example. 🙂 But when I implented the latest version (21.7.0.0) in Android Studio it won't sync anymore,. +

neat beacon
#

Are you seeing some Stripe related error that is preventing it?

spark cloak
#

plugins {
apply plugin: 'com.android.application'

}

android {
compileSdk 31

defaultConfig {
    applicationId "com.example.schrittgeld"
    minSdk 21
    targetSdk 31
    versionCode 1
    versionName "1.0"

    testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}

buildTypes {
    release {
        minifyEnabled false
        proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
    }
}
compileOptions {
    sourceCompatibility JavaVersion.VERSION_1_8
    targetCompatibility JavaVersion.VERSION_1_8
}

}

    {
        dependencies

        implementation 'androidx.appcompat:appcompat:1.3.1'
        implementation 'com.google.android.material:material:1.4.0'
        implementation 'androidx.constraintlayout:constraintlayout:2.1.1'
        implementation 'com.google.firebase:protolite-well-known-types:17.1.1'
        implementation project(path: ':app')
        testImplementation 'junit:junit:4.+'
        androidTestImplementation 'androidx.test.ext:junit:1.1.3'
        androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
        implementation 'com.stripe:stripe-android:21.7.0'
    }

class org.codehaus.groovy.ast.expr.TupleExpression cannot be cast to class org.codehaus.groovy.ast.expr.ArgumentListExpression (org.codehaus.groovy.ast.expr.TupleExpression and org.codehaus.groovy.ast.expr.ArgumentListExpression are in unnamed module of loader org.gradle.internal.classloader.VisitableURLClassLoader @5e3a8624)
class org.codehaus.groovy.ast.expr.TupleExpression cannot be cast to class org.codehaus.groovy.ast.expr.ArgumentListExpression (org.codehaus.groovy.ast.expr.TupleExpression and org.codehaus.groovy.ast.expr.ArgumentListExpression are in unnamed module of loader org.gradle.internal.classloader.VisitableURLClassLoader @5e3a8624)

#

Gradle's dependency cache may be corrupt (this sometimes occurs after a network connection timeout.)

Re-download dependencies and sync project (requires network)
The state of a Gradle build process (daemon) may be corrupt. Stopping all Gradle daemons may solve this problem.

Stop Gradle build processes (requires restart)
Your project may be using a third-party plugin which is not compatible with the other plugins in the project or the version of Gradle requested by the project.

In the case of corrupt Gradle processes, you can also try closing the IDE and then killing all Java processes.

#

This is my gradle.build file and the error message after I implement the newest version.

neat beacon
#

Did you try the troubleshooting steps that it mentions like re-downloading each of the dependencies and restarting the machine?

spark cloak
#

I think so, that I did. 😅

#

I'm really a newbie in Android Studio and app development. I just try to write with Google searches and try-and-error...... 😅

#

Could you provide me with an older version of 'implementation 'com.stripe:stripe-android:21.7.0', because I forgot what number version there was before I changed it.... 🙈 🙉 🙊