gradle-retrolambda icon indicating copy to clipboard operation
gradle-retrolambda copied to clipboard

Does retrolambda support for an android project depends on java project compiling to Java8?

Open SetoKaiba opened this issue 8 years ago • 4 comments

Does retrolambda support for an android project depends on java project compiling to Java8? I get the error below. Error converting bytecode to dex: Cause: Dex cannot parse version 52 byte code. This is caused by library dependencies that have been compiled using Java 8 or above

SetoKaiba avatar Mar 11 '17 11:03 SetoKaiba

should be able to add Retrolambda to the Java 8 project config to make it work I don't believe it will compile with a pre-compiled Java 8 library dependency

kassim avatar Mar 17 '17 16:03 kassim

Then there's no way to use a pre=compiled java 8 library, right?

SetoKaiba avatar Mar 17 '17 16:03 SetoKaiba

perhaps you can decompile it so it can be recompiled with retrolambda? but if it is dependent on Java 8 libraries (streams, etc) that won't help

kassim avatar Mar 17 '17 16:03 kassim

I see. Thank you.

SetoKaiba avatar Mar 17 '17 16:03 SetoKaiba