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

do not work with android-fat-aar

Open zhouchaohong1111 opened this issue 7 years ago • 3 comments

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.

zhouchaohong1111 avatar May 03 '17 02:05 zhouchaohong1111

Have a sample that shows this issue?

evant avatar May 03 '17 03:05 evant

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

zhouchaohong1111 avatar May 04 '17 03:05 zhouchaohong1111

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

chamathabeysinghe avatar Aug 08 '17 09:08 chamathabeysinghe