We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 066ec15 commit 5d3b8c0Copy full SHA for 5d3b8c0
1 file changed
repository/proguard-rules.pro
@@ -19,3 +19,10 @@
19
# If you keep the line number information, uncomment this to
20
# hide the original source file name.
21
#-renamesourcefileattribute SourceFile
22
+
23
+# TagLibMetadata is instantiated directly from JNI (native C++ code) by calling
24
+# its constructor via reflection-like JNI lookup. R8 has no way to detect this
25
+# usage during shrinking, so without this rule it renames or removes the class
26
+# and its constructor, causing a NoSuchMethodError at runtime in release builds.
27
+-keep class app.simple.felicity.repository.metadata.TagLibMetadata { *; }
28
0 commit comments