Gaurav Arora
Gaurav Arora

Reputation: 17274

Android: Build failure when using R8

I'm trying to build my project with R8 enabled. However, I get this error:

./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)

Upvotes: 0

Views: 1077

Answers (1)

Ian Zerny
Ian Zerny

Reputation: 346

This has been reported at http://issuetracker.google.com/issues/131710444 Please refer to that bug report on resolving the issue once it has been fixed.

Upvotes: 1

Related Questions