阅读背景:

android studio targetCompatibility = '1.7' 报错 解决方案

来源:互联网 

    引入第三方jar包的时候。遇到下面这种报错:

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.Error:Error con



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: