我正在尝试在启用 R8 的情况下构建我的项目。但是,我收到此错误:
./gradlew assembleAndroidTest
Caused by: com.android.tools.r8.utils.AbortException: Error: void com.cresta.Controller.ensureSaneDefaults() is not being kept as F, but remapped to B
at com.android.tools.r8.utils.Reporter.failIfPendingErrors(Reporter.java:89)
at com.android.tools.r8.utils.Reporter.fatalError(Reporter.java:60)
at com.android.tools.r8.utils.ExceptionUtils.withCompilationHandler(ExceptionUtils.java:64)