-
Notifications
You must be signed in to change notification settings - Fork 249
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
SDC : Proguard rules not available for apk shrink #1901
Comments
@khyativyasargus
|
Thank you @aditya-07 for your help ! Its working perfectly fine now! |
7 tasks
@khyativyasargus can you please also review Aditya's PR #1916 and leave any comments you may have? Thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
While applying Proguard rules to shrink apk, app crashes.
Component
SDC library - demo reference app
To Reproduce
Steps to reproduce the behavior:
getByName("debug") {
isMinifyEnabled = true
proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro")
}
getByName("release") {
isMinifyEnabled = false
proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro")
}
java.util.MissingResourceException: Can't find bundle for base name h2.hapi-messages, locale en_US
at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1561)
at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1384)
at java.util.ResourceBundle.getBundle(ResourceBundle.java:771)
at h2.a.e(:175)
at h2.a.(:64)
at h2.a.(:60)
at e2.k.(:115)
at e2.k.(:175)
at e2.k.v(:1199)
at e2.k.a(Unknown Source:0)
at e2.j.apply(Unknown Source:2)
at java.util.Map.computeIfAbsent(Map.java:1000)
at java.util.Collections$SynchronizedMap.computeIfAbsent(Collections.java:2723)
at e2.k.c(:1199)
at n5.h$a.b(:71)
at n5.g.d(:77)
at n5.g.c(:52)
at com.google.android.fhir.demo.FhirApplication.d(:67)
at com.google.android.fhir.demo.FhirApplication.b(:32)
at com.google.android.fhir.demo.FhirApplication$b.c(:34)
at com.google.android.fhir.demo.FhirApplication$b.g(:34)
Expected behavior
Need required Proguard rules to avoid missing resource exception
Smartphone (please complete the following information):
@jingtang10
The text was updated successfully, but these errors were encountered: