Chipmunk Canary 5 is giving me a lot of errors, so...
# android-studio
m
Chipmunk Canary 5 is giving me a lot of errors, some of them I’ve solved but
java.lang.StackOverflowError (no error message)
is tricky one, anyone can help?
l
What AGP version do you use?
m
I had problems with 7.2.0-alpha04 and I changed to alpha05. it didn’t prompt me with the upgrade but I upgraded manually because alpha04 was “not supported”
l
ok I had to upgrade manually too and this solved my problems. I would also check kotlin version, Gradle version if they are all in line. Maybe you provide more information about your error msg
m
error literally says “no error message” :D
l
can u share your project or just the gradle files so I can have a look?
m
Copy code
buildscript {
    dependencies {
        classpath(Libraries.Gradle.hilt)
    }
}

plugins {
    id("com.android.application") version "7.2.0-alpha04" apply false
    id("com.android.library") version "7.2.0-alpha04" apply false
    id("org.jetbrains.kotlin.android") version "1.5.31" apply false
}

tasks.register("clean", Delete::class) {
    delete(rootProject.buildDir)
}
project level build.gradle ☝️
just imageine 7.2.0-alpha05 instead of 7.2.0-alpha04
app level build.gradle is simple file with couple of dependencies, nothing special
l
nothing suspicious here,. The problm relies in app build.hgradle or settings.gradle. Gradle version 7.3?
m
I rely on the IDE for this kind of stuff but upgrading it to 7.3 doesn’t work
I’ve executed this at least
./gradlew wrapper --gradle-version=7.3
l
I mean the gradle version. try to bump it to 7.3
does this error occur on synchronization or when building the app?
m
7.3 already tried but it doesn’t work
error is on synchronization
l
ok then I would keep focus on the app build.gradle. Just remove suspicious lines until the error disappear
m
I downgraded to canary 4, need to continue work and I don’t care bothering about that gradle errors