Fixed
Status Update
Comments
ri...@google.com <ri...@google.com>
ga...@google.com <ga...@google.com> #2
Thank you for posting an issue. It is not obvious to me what the error is, please give some more information, ideally a
If you cannot provide a dump, please share the full stack trace and potentially the classes that are failing if that is available from the information you have. You can probably obtain it by running the release process from the command line.
The Expected stack map table for method with non-linear control flow.
is because you have invalid class file input. It is an error to not provide frame information in jumps and has been so from class file version 50.
hu...@google.com <hu...@google.com> #3
Currently I cannot reproduce this error again. I have made more changes, two major which might have fixed it was removing dependency on androidx.multidex:multidex - and removed all the manual way of enabling it. I left the default behaviour. We no longer needed this library as we lifted minSdkVersion to 21 some time ago. Another change was to switch from flutter version 3.3.10 to 3.7.0. We embed flutter windows inside our application.
Description
Kotlin Gradle plugin 1.8.0 was migrated to expose compiler options with Gradle properties API. This API prohibits inputs modification on Gradle execution phase.
kgpUtils.kt#addComposeArgsToKotlinCompile
kotlinOptions.freeCompilerArgs
in taskdoFirst
action.With KGP 1.8.0 this will produce warning message in build log and in next major versions it fill fail the build.