the error seems to come from a dagger generated class, maybe there were some inconsistencies coming from previous builds. Could you try cleaning the project and building again? ./gradlew clean.
And which branch of the app are you using? Maybe @Pablo can help us on this.
Thank you for your answers ! I had the same problem to build the 2.5.2… Finally I had to unninstall the last version of Android Studio to install the version Android Studio 4.1.3. It allowed me then to use Java 8 and compile it without major issues.