小编all*_*218的帖子

我用java 7 android studio错误替换java 8?

为什么我用JAVA 7替换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.
Error:...while parsing android/support/v7/recyclerview/R$attr.class
Error:Error converting bytecode to dex:
Cause: Dex cannot parse version 52 byte code.
This is caused by library dependencies that have …
Run Code Online (Sandbox Code Playgroud)

android android-studio

4
推荐指数
2
解决办法
1万
查看次数

标签 统计

android ×1

android-studio ×1