Dx unsupported class file version 52.0 ...while parsing okio/AsyncTimeout.class
来源:互联网 发布:人工智能老师 编辑:程序博客网 时间:2024/05/23 01:20
Dx unsupported class file version 52.0 ...while parsing okio/AsyncTimeout.class
Dx 1 error; aborting
Conversion to Dalvik format failed with error 1
今天在使用我看okhttp以及okio的时候,打okio jar包时遇到了上述错误,
后来经过翻阅资料发现,是因为打okio的jar包使用的是jdk 8,换成jdk 7就OK了。
在Google上搜到的:
You have to tell your java compiler to produce java 7 compatible class files, because android (dex) does not support java 8 at the moment.
If you want to use lambdas in your sources, you can use retrolambda (https://github.com/evant/gradle-retrolambda) or the new Jack compiler (https://developer.android.com/preview/j8-jack.html)
0 0
- Dx unsupported class file version 52.0 ...while parsing okio/AsyncTimeout.class
- Dx unsupported class file version 52.0 …while parsing
- 【Android-I】Android开发之常见错误:Dx unsupported class file version 52.0...while parsing com/...
- 【Android-I】Android开发之常见错误:Dx unsupported class file version 52.0...while parsing com/...
- 编译错误-com.android.dx.cf.iface.ParseException,Dx unsupported class file version 52.0 …while parsing
- 【Android】Dx unsupported class file version 52.0
- Dx unsupported class file version 52.0 报错解决
- 编译错误: Dx unsupported class file version 52.0。。。
- Eclipse编译错误: Dx unsupported class file version 52.0
- 错误:Dx unsupported class file version 52.0(解决)
- Android 开发问题解决方法记录:Dx unsupported class file version 52.0
- Android Eclipse运行项目报错 Dx unsupported class file version 52.0
- Android :Dx unsupported class file version 52.0 Conversion to Dalvik format failed with error 1
- Android error : unsupported class file version 52.0
- Error:unsupported class file version 52.0问题的解决
- class file has wrong version 49.0, should be 48.0 问题以及Unsupported major.minor version 49.0
- class file has wrong version 49.0, should be 48.0 问题以及Unsupported major.minor version 49.0 .
- Unsupported class version number [52.0] (maximum 51.0, Java 1.7))
- tomcat在eclipse中调试时,断点频繁停在threadpoolexecutor
- SpringAOP拦截Controller,Service实现日志管理(自定义注解的方式)
- 理解MySQL——索引与优化
- eclipse自动退出解决方法
- lastIndexOf、map
- Dx unsupported class file version 52.0 ...while parsing okio/AsyncTimeout.class
- 关于linux文件Blocks和Block size的一些解析
- 贪吃蛇汇编
- Swift encode URL
- 12.27未消化
- httpclient3.1异常Timeout waiting for connection
- 什么是闭包
- 卷积
- mvc扩展2