-
Notifications
You must be signed in to change notification settings - Fork 425
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
java.lang.VerifyError: Bad return type #386
Comments
Still existing in 7.5.0. |
Hi @sproctor ! Can you share a reproducing sample? |
Sorry, I don't have an example to share. It seems to be Compose related. Error with 7.6.0:
From the mappings:
Adding the following fixes the issue:
|
Hi @sproctor ! It seems to be related to optimizations, if that's the case you could still allow shrinking and name obfuscation of the package with:
You could also disable specific optimizations, for example there is a known issue with enum simplication (#350):
If you can't share a full sample, it might help to share the bytecode for the specific class/method before and after, which you can dump with |
This error only happens with Proguard 7.4.x. Adding
-dontoptimize
or reverting to 7.2.2 gets rid of the crash.Proguard 7.3.2 has a different error:
Proguard 7.2.2 works fine.
The text was updated successfully, but these errors were encountered: