java-Android Error:Error converting bytecode to dex: Cause: Dex cannot parse version 52 byte code.
来源:互联网 发布:ubuntu 删除文件 编辑:程序博客网 时间:2024/06/05 10:55
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.
(通常将maven项目移植到android studio中的时候,会出现此错误)
android { compileSdkVersion 25 buildToolsVersion "25.0.3" defaultConfig { ... ... ... jackOptions { enabled true } } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 }}
阅读全文
0 0
- java-Android Error:Error converting bytecode to dex: Cause: Dex cannot parse version 52 byte code.
- Error converting bytecode to dex:Dex cannot parse version 52 byte code
- Android Error:Error converting bytecode to dex: Cause: com.android.dex.DexException: Multiple dex fi
- Error:Error converting bytecode to dex: Cause: com.android.dex.DexException: Multiple dex files defi
- Error:Error converting bytecode to dex: Cause: com.android.dex.DexException: Multiple dex files de
- Error:Error converting bytecode to dex: Cause: com.android.dex.DexException: Multiple dex files defi
- Error:Error converting bytecode to dex: Cause: com.android.dex.DexException: Multiple dex files defi
- Error:Error converting bytecode to dex: Cause: com.android.dex.DexException: Multiple dex files defi
- Error:Error converting bytecode to dex: Cause: com.android.dex.DexException: Multiple dex files defi
- Error:Error converting bytecode to dex:Cause: com.android.dex.DexException: Multiple dex files defin
- 打包错误Error converting bytecode to dex: Cause: com.android.dex.DexException: Multiple dex files define
- Android Studio下遇到error::Error converting bytecode to dex: Cause: com.Android.dex.DexException:
- Android Studio下遇到error::Error converting bytecode to dex: Cause: com.Android.dex.DexException:
- Android Studio 编译报错 Error:Error converting bytecode to dex: Cause: com.android.dex.DexIndexOverflowE
- Error:Error converting bytecode to dex:Cause:c
- Error converting bytecode to dex
- Error converting bytecode to dex
- Error:Error converting bytecode to dex: Cause: java.lang.RuntimeException: Exception parsing classes
- 根据key取Jsonobject中value
- 自定义控件之按照数据百分比画圆环
- 为什么我推荐ImageJ?
- 【Owin 学习系列】1. 第一个 Owin 程序
- Java对象的强、软、弱和虚引用原理+结合ReferenceQueue对象构造Java对象的高速缓存器
- java-Android Error:Error converting bytecode to dex: Cause: Dex cannot parse version 52 byte code.
- datatables自定义
- File类
- 催收员电话骚扰欠债者竟被抓,原因是暴力催收
- 内存地址空间与分配
- Oozie分布式任务的工作流——Sqoop篇
- 数人云|PaaS Innovation 2017开幕在即,共襄技术演进与商业碰撞盛宴
- Android 7.0获取文件Uri适配
- Android8.0 Email 一个Bug修改方案