I was in need of enabling R8 in our project in order to use a video component that requires Java 8, but can't because we get the following error at compile-time:
R8: Compilation can't be completed because some library classes are missing.
There's a warning that says:
Missing class: com.android.internal.util.Predicate
that, from what understand, must be the cause of the issue. Thing is, when I google it, all I learn is that that class is… deprecated, or something?
Any help or tip would be deeply appreciated.