我正在使用领域和 retrolambda,我想将 exoplayer 添加到我的项目中,它需要 java 8 支持,当我添加编译选项 java 8 并重建项目时,我收到此错误:
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.
我创建了一个测试项目并添加了 exoplayer
,当我添加编译选项 java 8 时,我也添加了jackoption
它,它没有任何问题,但是在我的项目中,我 retrolambda
不允许我添加千斤顶选项,我该怎么办?