evant / gradle-retrolambda

A gradle plugin for getting java lambda support in java 6, 7 and android
Apache License 2.0
5.3k stars 449 forks source link

do not work with android-fat-aar #250

Open zhouchaohong1111 opened 7 years ago

zhouchaohong1111 commented 7 years ago

https://github.com/adwiv/android-fat-aar

Error: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. If you are using the 'java' gradle plugin in a library submodule add targetCompatibility = '1.7' sourceCompatibility = '1.7' to that submodule's build.gradle file.

evant commented 7 years ago

Have a sample that shows this issue?

zhouchaohong1111 commented 7 years ago

https://github.com/zhouchaohong1111/retrolamdaFataarSample the sample will show this issue.

chamathabeysinghe commented 7 years ago

I got the same issue when I add a non android jar file which is compiled using java 8. Did you find a solution?