-
Notifications
You must be signed in to change notification settings - Fork 555
Closed
Labels
Area: App+Library BuildIssues when building Library projects or Application projects.Issues when building Library projects or Application projects.
Milestone
Description
Description
Hi,
After we updated to 9.0.40, we are getting this error when trying to build a release version for Android.
I happens when r8 is enabled and in our config file we keep this:
-keep class com.google.crypto.tink.** { *; } (Tbh i cant remember why we added this, but it was for sure to fix other bugs)
This prevents us from building.
If we remove this:
-keep class com.google.crypto.tink.** { *; }
Then it builds just fine. No idea why this could be to be honest.
BR.
Steps to Reproduce
- clone repo.
- Build a release build
- observe error.
- remove # -keep class com.google.crypto.tink.** { *; } in proguard.cfg.
- delete bin and obj folder.
- Build release version.
- Success.
Link to public reproduction project repository
https://github.com/Pmr-precure/MauiTestProject/tree/r8_bug
Version with bug
9.0.40 SR4
Is this a regression from previous behavior?
Yes, this used to work in .NET MAUI
Last version that worked well
9.0.30 SR3
Affected platforms
Android
Affected platform versions
No response
Did you find any workaround?
Only by removing -keep class com.google.crypto.tink.** { *; }
Relevant log output
Metadata
Metadata
Assignees
Labels
Area: App+Library BuildIssues when building Library projects or Application projects.Issues when building Library projects or Application projects.