#Donovan -“strong fighter.”
1 messages · Page 1 of 1 (latest)
Hi we can only answer questions about the api in here. If you are facing an issue in your integration, we can provide guidance, but we can't help you develop the project outright
It just happens, that I was implementing the latest version of Stripe in my project 'implementation 'com.stripe:stripe-android:21.7.0'', but with that my gradle sync didn't work anymore...
Can I even use my project with Stripe then?
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 @5c3bd550)
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 @5c3bd550)
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.
I updated on the latest Android Studio version yesterday. But still....
It don't seem to run with Stripe?
This is my project. (The MainActivity file)
I agree and this seems to suggest something else going on:
Gradle's dependency cache may be corrupt
I think there's a way to flush that cache and start over, though
Can you help me with that, because I'm a total newbie in this field.... 😅
https://stackoverflow.com/a/54305292 might help, but it seems like theres a gradle version/cache issue going on with your build
Unfortunately we're not general gradle experts, so can't offer much more help beyond suggesting looking into how you can clean your gradle cache and re build
Ok. Thank you anyway for your help. I appreciate anything. 💟
Similar suggestions here: https://stackoverflow.com/questions/38442901
Do you see any "third-party" plug in my project file, which may cause this error? I just updated all gradle versions, cleaned the project, rebuild it, nothing......
We specify in our changelogs when we bump the Android Gradle plugin version dependency:
eg https://github.com/stripe/stripe-android/blob/master/CHANGELOG.md#2062---2022-06-23
You might need to review the version for other libraries you use and ensure compatibility
Ok.... I try and I hope I will solve this somehow in short time....