r8

Android/java: Transition / Migration from ProGuard to R8?

我只是一个虾纸丫 提交于 2019-11-26 11:26:07
问题 I wonder how to make the transition / migration from ProGuard to R8 . Should I just remove the Proguard-related lines from my Gradle files and add the android.enableR8 = true line instead ? Thanks. 回答1: Proguard is developed and maintained by GuardSquare while R8 is developed and maintained by Android team which means they are two different products although R8 is compatible with Proguard. As seen from here https://www.guardsquare.com/en/blog/proguard-and-r8 Compatibility of ProGuard and R8