I have issue with Java 8 when I use
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
I Get Error
Execution failed for task ':app:transformClassesWithDesugarForDebug'. >
com.android.build.api.transform.TransformException:
java.lang.RuntimeException: java.lang.RuntimeException:
com.android.ide.common.process.ProcessException: Error while executing java
process with main class
Just update your build tools . It should be solved in build tools 3.0.0-beta4 .
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With