1
我试图编译我的Android应用程序,并获得这些奇怪的错误(不是警告,实际误差)奇怪的Android DEX错误
Android Dex: [MyApp] (org.eclipse.jdt.internal.compiler.DefaultErrorHandlingPolicies$1) that doesn't come with an
Android Dex: [MyApp] associated EnclosingMethod attribute. This class was probably produced by a
Android Dex: [MyApp] compiler that did not target the modern .class file format. The recommended
Android Dex: [MyApp] solution is to recompile the class from source, using an up-to-date compiler
Android Dex: [MyApp] and without specifying any "-target" type options. The consequence of ignoring
的Android敏捷:MyApp的]麻烦处理“的javax /交易/ HeuristicCommitException。类“: .....
我已经编写这个程序相当长一段时间没有麻烦,但最近已经取得了很多的变化,包括引入支持包和actionBarSherlock的...
我找不到任何东西我的源代码与错误消息有关。
据我所知,导入JAR时这个错误是可疑的?
我使用IntelliJ 12来管理我的依赖关系(而不是Maven)。
它们是:
MyApp:
- MyOtherModule
- actionbarsherlock
MyOtherModule:
- JUnit
- commons-lang3-3.1
- jetty-distribution-9.0.3
- google-gson-2.2
actionbarsherlock:
- android-support-v4.jar
全部设置为 '编译'。
不幸的是,现在有点难以逐个删除这些库来查看问题是什么......其他任何人都遇到过这些JAR错误,或者知道如何调试它?
谢谢了。
你可以请把实际的错误日志? – NightWhisper