stripe / stripe-react-native

React Native library for Stripe.
https://stripe.dev/stripe-react-native
MIT License
1.26k stars 260 forks source link

Execution failed for task ':stripe_stripe-react-native:compileDebugKotlin'. build gradlew failed #1721

Closed crzycoder closed 1 week ago

crzycoder commented 2 weeks ago

Error

Task :stripe_stripe-react-native:compileDebugKotlin FAILED

After installing string : "@stripe/stripe-react-native": "^0.38.4" , i am unable to run the app in android emulator due to the build e error I have mentioned above.

APP Versions

"react": "18.3.1", "react-native": "0.75.2", "@stripe/stripe-react-native": "^0.38.4"

Android build.gradlew

buildToolsVersion = "34.0.0" minSdkVersion = 23 compileSdkVersion = 34 targetSdkVersion = 34 ndkVersion = "26.1.10909125" kotlinVersion = "1.9.24"

exact build.gradlew

buildscript { ext { buildToolsVersion = "34.0.0" minSdkVersion = 23 compileSdkVersion = 34 targetSdkVersion = 34 ndkVersion = "26.1.10909125" kotlinVersion = "1.9.24" } repositories { google() mavenCentral() } dependencies { classpath("com.android.tools.build:gradle") classpath("com.facebook.react:react-native-gradle-plugin") classpath("org.jetbrains.kotlin:kotlin-gradle-plugin") classpath 'com.google.gms:google-services:4.4.2' classpath 'com.google.firebase:firebase-crashlytics-gradle:3.0.2' classpath 'com.google.firebase:perf-plugin:1.4.2' } }

apply plugin: "com.facebook.react.rootproject"

FernandoAOborges commented 2 weeks ago

"react-native": "0.75.2" "@stripe/stripe-react-native": "^0.38.4",

ctlincfaisal commented 2 weeks ago

same issue, is someone find solution of this ?

danish5454 commented 1 week ago

same issue

nikhildeorabrandvalley commented 1 week ago

+1

carlosraez commented 1 week ago

+1

davichoso commented 1 week ago

+1

enchorb commented 1 week ago

Looks like a duplicate of https://github.com/stripe/stripe-react-native/issues/1713 with the fix in https://github.com/stripe/stripe-react-native/pull/1719/files

FernandoAOborges commented 1 week ago

Looks like a duplicate of #1713 with the fix in https://github.com/stripe/stripe-react-native/pull/1719/files

If you notice, it's this version: '0.38.4' that's causing the problem, my friend, the same one you mentioned.

jblemee commented 1 week ago

We are waiting for the next release. @charliecruzan-stripe :pray: :heart:

charliecruzan-stripe commented 1 week ago

released in https://github.com/stripe/stripe-react-native/releases/tag/v0.38.6