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