This is the last output I get when I run the release build of my Android app with --info
:
.gradle\caches\modules-2\files-2.1\io.ktor\ktor-client-core-jvm\1.5.4\81e8f8bb9622b96661c739ca18146e4079191c20\ktor-client-core-jvm-1.5.4.jar: R8: Invalid signature '(TTBuilder;)V' for method void io.ktor.client.HttpClientConfig$install$1.invoke(java.lang.Object).
Validation error: A type variable is not in scope.
Signature is ignored and will not be present in the output.
AAPT2 aapt2-7.4.2-8841542-windows Daemon #0: shutdown
AAPT2 aapt2-7.4.2-8841542-windows Daemon #1: shutdown
AAPT2 aapt2-7.4.2-8841542-windows Daemon #2: shutdown
AAPT2 aapt2-7.4.2-8841542-windows Daemon #3: shutdown
AAPT2 aapt2-7.4.2-8841542-windows Daemon #4: shutdown
AAPT2 aapt2-7.4.2-8841542-windows Daemon #5: shutdown
Solved by the R8 team. The issue is gone when I add this to settings.gradle:
pluginManagement {
buildscript {
repositories {
mavenCentral()
maven {
url = uri("https://storage.googleapis.com/r8-releases/raw")
}
}
dependencies {
classpath("com.android.tools:r8:4.0.67")
}
}
}
See this link for more info: https://issuetracker.google.com/issues/295509069