-
Notifications
You must be signed in to change notification settings - Fork 1
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
Issues Building Android Release version MAUI #155
Comments
And of cause if we disable R8 then it runs fine. |
We've run some tests based on your feedback:
<AndroidDexTool>d8</AndroidDexTool>
<AndroidLinkTool>r8</AndroidLinkTool>
<AndroidEnableDesugar>True</AndroidEnableDesugar>
<AndroidEnableProguard>True</AndroidEnableProguard>
<AndroidEnableMultiDex>True</AndroidEnableMultiDex>
I will look further into this but in the meantime I take it that if you turn off R8 (as you already mentioned) and let the build system fallback to using 'proguard' or whatever then the resulting Android application runs acceptably right? Is there any problem in that regard? |
Hi, I managed to build the project with R8 adding this to the proguard.cfg -keep class com.laerdal.mcumgr.** { *; } |
I guess you mean to say that this was added in the proguard.cfg of your application right? (or did you tweak the proguard.cfg of the Laerdal.McuMgr java-lib itself?)
Appreciate the follow up info. |
No no our application :) |
Hi,
We cant build our release version. Here is our config:
Not sure whats going on. If we remove the package then we got no issues. Hope you can help.
The text was updated successfully, but these errors were encountered: