2013-06-27 3 views
1

나는이 이상한 오류 (안 경고, 실제 오류)이상한 안드로이드 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 

안드로이드 덱스를 내 안드로이드 응용 프로그램을 컴파일하려고하고 얻고있다. 클래스 " .....

내가 최근 문제가없는 아주 잠시 동안이 응용 프로그램을 컴파일하지만 봤는데는 지원 패키지 및 ActionBarSherlock의 도입을 포함한 많은 변화 ...

I을 만들었습니다 ~에서 무엇을 찾을 수 없다. 내 소스 코드가 오류 메시지와 관련있다.

내가 알 수있는 한 JAR을 가져올 때이 오류가 의심 스럽습니까?

저는 Maven이 아닌 내 의존성을 관리하기 위해 IntelliJ 12를 사용하고 있습니다.

그들은 다음과 같습니다

MyApp: 
- MyOtherModule 
- actionbarsherlock 

MyOtherModule: 
- JUnit 
- commons-lang3-3.1 
- jetty-distribution-9.0.3 
- google-gson-2.2 

actionbarsherlock: 
- android-support-v4.jar 

는 모든 '컴파일'로 설정.

불행하게도이 라이브러리를 하나씩 제거하여 문제가 무엇인지 확인하는 것이 어렵습니다. 다른 사람이이 JAR 파일에서이 오류를 경험했거나 디버깅하는 방법을 알고 있습니까?

감사합니다.

+1

실제 오류 로그를 넣으시겠습니까? – NightWhisper

답변

0

문제점 라이브러리는 Jetty가 가져온 것이므로 가져 오기가 수정되었습니다. 어떤 이유로 든 안드로이드와 호환되지 않는 것 같은데 다른 HttpClient를 사용해야 할 것 같습니다.