Anyone else getting java.lang.AbstractMethodError ...
# compose
r
Anyone else getting java.lang.AbstractMethodError when building minified builds? This started happening when upgrading gradle to 7.1.0. When I disable obfuscation in proguard-rules.pro this exception doesn't happen. I've tried both compose 1.1.0-rc03 and 1.0.5. Thanks!
a
File an issue against R8 here.
👍 1
p
We’re seeing the same, have you found any fix for tat @Rob?
r
Yes. They fixed it in r8:3.1.66 (https://issuetracker.google.com/issues/218092224). You add this to you top level build.gradle.kts.
Copy code
buildscript {
    repositories {
        mavenCentral()
        maven {
            url = uri("<https://storage.googleapis.com/r8-releases/raw>")
        }
    }
    dependencies {
        classpath("com.android.tools:r8:3.1.66")     
        classpath("com.google.guava:guava:30.1.1-jre") // Required until R8 3.2.4-dev.
    }
}
🙏 1
👍 1