Instabug/Instabug-Android

Task minifyReleaseWithR8 failing on 12.3.0

tfcporciuncula opened this issue · 1 comments

When building a release build with the latest version (12.3.0), we now get this:

> Task :android:app:minifyReleaseWithR8 FAILED
ERROR: Missing classes detected while running R8. Please add the missing classes or apply additional keep rules that are generated in /Users/fred/Repositories/app/android/app/build/outputs/mapping/release/missing_rules.txt.
ERROR: R8: Missing class io.reactivexport.annotations.NonNull (referenced from: void com.instabug.bug.view.reporting.feedback.b.<init>(com.instabug.bug.view.reporting.n0, com.instabug.bug.userConsent.b))

The missing_rules.txt file has this:

# Please add these rules to your existing keep rules in order to suppress warnings.
# This is generated automatically by the Android Gradle plugin.
-dontwarn io.reactivexport.annotations.NonNull

For now we can add that rule ourselves, but any chance this could be bundled in the library?

Hi @tfcporciuncula, thanks for reporting this.
This was fixed is version 12.3.1. I'm going to close this issue for now please feel free to reopen it if you have other questions 🙏🏻