Skip to content

Commit 6e7e828

Browse files
authored
Update recommended Android proguard rules
With R8 fullMode enabled, classes that extend from `com.sun.jna.*` are all removed, so we should be explicit to include those.
1 parent 0da700d commit 6e7e828

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

www/FrequentlyAskedQuestions.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,7 @@ If you're using Proguard, you should also add the following to your Proguard rul
218218
```
219219
-dontwarn java.awt.*
220220
-keep class com.sun.jna.* { *; }
221+
-keep class * extends com.sun.jna.* { *; }
221222
-keepclassmembers class * extends com.sun.jna.* { public *; }
222223
```
223224

@@ -288,4 +289,4 @@ ant -lib lib/clover.jar clover
288289
```
289290

290291
The result is placed in `$JNA_BASE/build/reports/clover` and can be opened with
291-
a webbrowser.
292+
a webbrowser.

0 commit comments

Comments
 (0)