From 82fed02fbae4bbe3fe2d76d46b2d577a469bdba0 Mon Sep 17 00:00:00 2001 From: Marcono1234 Date: Fri, 11 Feb 2022 20:06:14 +0100 Subject: [PATCH] Mention R8 FAQ in Android example (#2075) --- examples/android-proguard-example/README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/examples/android-proguard-example/README.md b/examples/android-proguard-example/README.md index bc4b2e758f..093c8eebca 100644 --- a/examples/android-proguard-example/README.md +++ b/examples/android-proguard-example/README.md @@ -7,3 +7,6 @@ access the fields of a class. It is necessary to configure ProGuard to make sure Also have a look at the [ProGuard manual](https://www.guardsquare.com/manual/configuration/usage#keepoverview) for more details on how ProGuard can be configured. + +The R8 code shrinker uses the same rule format as ProGuard, but there are differences between these two +tools. Have a look at R8's Compatibility FAQ, and especially at the [Gson section](https://r8.googlesource.com/r8/+/refs/heads/main/compatibility-faq.md#gson).