I'm trying to get the desktop target of a compose ...
# compose-desktop
s
I'm trying to get the desktop target of a compose MP build working with proguard. It runs fine when packaged w/o proguard, but with proguard it produces the following error:
Copy code
Error: Unable to initialize main class packageName.MainKt
Caused by: java.lang.VerifyError: Expecting a stackmap frame at branch target 58
j
One thing to check: make sure your ProGuard configuration doesn't contain
-dontpreverify
when targeting the JVM. Preverification is required to compute the stackmap frames https://www.guardsquare.com/manual/configuration/usage#dontpreverify
s
That was it. Thanks! That option was suggested for troubleshooting and I didn't think to read description of
-dontpreverify