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.
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.
...while parsing com/alibaba/sdk/android/oss/ClientConfiguration.class
解决方法:
1详细请浏览https://stackoverflow.com/questions/37020413/android-dex-cannot-parse-version-52-byte-code;
2;降低OSS 引入版本
compile 'com.aliyun.dpa:oss-android-sdk:2.3.0'