#Donovan -“strong fighter.”

1 messages · Page 1 of 1 (latest)

strange gustBOT
silent rune
#

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

solid sedge
#

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?

silent rune
#

Can you elaborate?

#

What's the error message?

solid sedge
#

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?

silent rune
#

Those don't look like Stripe errors

#

That's some Gradle issue

pearl oyster
#

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

solid sedge
#

Can you help me with that, because I'm a total newbie in this field.... 😅

pearl oyster
#

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

solid sedge
#

Ok. Thank you anyway for your help. I appreciate anything. 💟

pearl oyster
solid sedge
#

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......

pearl oyster
#

You might need to review the version for other libraries you use and ensure compatibility

solid sedge
#

Ok.... I try and I hope I will solve this somehow in short time....