It’s fine to adjust the dependency order of framework.jar and android.jar using build.gradle, but it doesn’t work with build.gradle.kts. Are there any solutions?
Sorry for the unclear saying. I mean the same method works fine in build.gradle (Groovy DSL), but fails in build.gradle.kts (Kotlin DSL). I’m currently using AGP 8.x, and I suspect it’s not just a Kotlin DSL (kts) issue.