#junaid_abbasi999
1 messages ยท Page 1 of 1 (latest)
hello! can you share the full details of the error? I think there should be a "See log for more details"
give me a minute.
not exactly sure what you asked for but these are some of the logs that i got
Hi @gilded dome can you share the build.gradle file inside the android folder?
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext {
buildToolsVersion = "33.0.0"
minSdkVersion = 21
compileSdkVersion = 33
targetSdkVersion = 33
// We use NDK 23 which has both M1 support and is the side-by-side NDK version from AGP.
ndkVersion = "23.1.7779620"
}
repositories {
google()
mavenCentral()
}
dependencies {
classpath("com.android.tools.build:gradle:7.3.1")
classpath("com.facebook.react:react-native-gradle-plugin")
classpath 'com.google.gms:google-services:4.3.14'
}
}
these two are the errors that i am getting
1: Task failed with an exception.
- What went wrong:
Execution failed for task ':stripe_stripe-react-native:compileDebugKotlin'.
A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction
Compilation error. See log for more details
- Try:
Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.
==============================================================================
2: Task failed with an exception.
-
What went wrong:
java.lang.StackOverflowError (no error message) -
Try:
Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.
==============================================================================
There's one more build.gradle file in android/app folder, can you also share that? I'd like to see what kotlin compiler version are you using
I don't see kotlin mentioned in neither build.gradle file, can you do a search of kotlin in your project and see if it's enabled somewhere?
Yes I didn't see it myself I even searched for Kotlin as you mentioned still didn't get anything...
it was working fine untill today...
That's very strange. Did you change anything recently?
no I didn't just tried to build my project today and got this error.
Did you update Android Studio or any dependencies?
nothing......
Run ./gradlew clean in your android project to clear the build cache, and build your project again
already done...
Run ./gradlew --info build and see if it give us more info about the error
Clean the gradle cache from /Users/junaidabbasi/.gradle/, reboot your machine and try again?
I really don't understand why the gradle execute the kotlin task if your project didn't enable kotlin.
bro still not fixed.