Skip to content

Commit

Permalink
Enable minifying on release build types to avoid R8 build error
Browse files Browse the repository at this point in the history
D8: com.android.tools.r8.internal.Hc: Unexpected attempt to get register for a value without a register in method `java.lang.String androidx.compose.compiler.plugins.kotlin.lower.IrSourcePrinterKt.dumpSrc(org.jetbrains.kotlin.ir.IrElement, boolean)`
  • Loading branch information
rorbech committed Apr 18, 2024
1 parent 88ae740 commit a3c163e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion MultiplatformDemo/androidApp/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ android {
}
buildTypes {
getByName("release") {
isMinifyEnabled = false
isMinifyEnabled = true
}
}

Expand Down
2 changes: 1 addition & 1 deletion MultiplatformDemoWithSync/androidApp/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ android {
}
buildTypes {
getByName("release") {
isMinifyEnabled = false
isMinifyEnabled = true
}
}

Expand Down

0 comments on commit a3c163e

Please sign in to comment.