안드로이드에서 작동하도록 컴퓨터를 설정할 때"컴파일 "할 코드를 얻을 수 없거나 컴파일 할 때 다른 프로세스에서 중지 될 수 있습니다 "classes.dex 생성 중"이라고 표시된 경우 오류가 발생합니다."classes.dex .... 생성 중"안드로이드 컴파일 오류 "
Information: Note: Some input files use unchecked or unsafe operations.
Information: Note: Recompile with -Xlint:unchecked for details.
Information: Compilation completed with 12 errors and 2 warnings
Information: 12 errors
Information: 1 warning
Error: (org.joda.time.DateTimeZone$1) that doesn't come with an
Error: associated EnclosingMethod attribute. This class was probably produced by a
Error: compiler that did not target the modern .class file format. The recommended
Error: solution is to recompile the class from source, using an up-to-date compiler
Error: and without specifying any "-target" type options. The consequence of ignoring
Error: this warning is that reflective operations on this class will incorrectly
Error: indicate that it is *not* an inner class.
Error: (junitx.extensions.TestSetup$1) that doesn't come with an
Error: (junitx.ant.TestClassValidatorTask$1) that doesn't come with an
Error: (junitx.util.AbstractSuiteBuilder$1) that doesn't come with an
Error: (junitx.framework.TestSuite$1) that doesn't come with an
Error: (junitx.tool.TestClassValidator$1) that doesn't come with an
Warning: warning: Ignoring InnerClasses attribute for an anonymous inner class
흥미로운 것은이 코드는 우리가이 설정 looong 시간 전 아무도 일이 있었는지 기억하지가 다른 컴퓨터에서 올바르게 컴파일이다 :
내가 오류는 다음과 같습니다.
나는 굉장히 많이 봤지만 모든 사람들이 JodaTime 소스에서 재 컴파일해야한다고 말합니다.하지만 동일한 코드 (복사하여 붙여 넣거나 버전 제어에서 다운로드)가 완벽하게 작동하기 때문에 가능하지 않습니다. 기계, 그래서 거기에 원인이 내 환경에 대한 뭔가가 있어야하지만, 나는 무엇을 찾아야할지 전혀 모른다.
이 유형의 오류를 인식하는 전문가가 있습니까?
이런 일이 있었습니까? 어떻게 그걸 고쳤습니까 ??
도와주세요 ...
참고 :
- 누군가가 내가 비슷한 질문 전에 요청 받았다 알고 그것을 지적하기 전에 안드로이드 1.6
에 대한 컴파일 - 인 IntelliJ
사용. 예 : Recompile jodatime?. 그러나이 경우 제안 된 솔루션은 JodaTime 소스를 다시 컴파일하는 것이 었습니다. 코드가 한 컴퓨터에서 작동하고 다른 컴퓨터에서는 작동하지 않기 때문에 여기서는 그렇지 않다고 생각합니다.
이클립스를 사용하고 있습니까? – bytebender
Intellij를 사용하고 있습니다. – bluediapente
은 사용중인 jdk 버전과 관련이있을 수 있습니다. 컴퓨터와 다른 컴퓨터에서 jdk 버전을 확인할 수 있습니까? – Josnidhin