내 프로젝트 (동작 라이브러리는 "라이브러리"로 표시된 프로젝트)에서 actionbarcherlok 프로젝트를 가져 오려고합니다. 내 프로젝트에 아직 support-v4 library
이 포함되어 있으므로 셜록 작업 표시 줄을 가져올 때도 마찬가지입니다. support-v4 library 포함) 다음 오류가 발생합니다.두 버전의 안드로이드 지원 -v4
Found 2 versions of android-support-v4.jar in the dependency list,
but not all the versions are identical (check is based on SHA-1 only at this time).
즉 하나의 라이브러리를 제거해야합니다.
내 프로젝트에 이미 있던support-v4 library
을 제거한
하지만 FragmentActivity 지원-V4 라이브러리에서 찍은 때문에이 라인
public class ReminderCreation extends FragmentActivity{
에서 오류를 obratin :
android.support.v4.app.FragmentActivity
내가 할 수있는 이 문제가 해결 되었습니까? sherlock 프로젝트에 포함 된 support-v4 라이브러리를 참조 할 수 있습니까?
참고 :
나는 또한이 오류를 획득, SherlokFragmentactivity
에 FramentActivity
을 변경하는 tryied 한 :
The hierarchy of the type ReminderCreation is inconsistent.
편집 :이 수정 사항을 소개하면
(@ascorbin에 의해 제안) 런타임에이 오류가 발생합니다.
이 라인에서10-17 09:30:12.190: E/dalvikvm(1877): Could not find class 'com.nostra13.universalimageloader.core.ImageLoaderConfiguration$Builder', referenced from method host.framework.ApplicationFramework.onCreate
10-17 09:30:12.190: W/dalvikvm(1877): VFY: unable to resolve new-instance 489 (Lcom/nostra13/universalimageloader/core/ImageLoaderConfiguration$Builder;) in Lhost/framework/ApplicationFramework;
10-17 09:30:12.190: E/AndroidRuntime(1877): FATAL EXCEPTION: main
10-17 09:30:12.190: E/AndroidRuntime(1877): java.lang.NoClassDefFoundError: com.nostra13.universalimageloader.core.ImageLoaderConfiguration$Builder
: Application
를 확장하는 클래스 내부
ImageLoaderConfiguration config = new ImageLoaderConfiguration.Builder(getApplicationContext())
(I 전에이 오류 결코)
uhm, ok @Ascorbin. Main 프로젝트의 \ libs 디렉토리에있는 지원 라이브러리에 thin을 추가하는 것이 더 좋습니까? – GVillani82
당신도 그렇게 할 수 있습니다. – FWeigl
내 질문을 편집했습니다 @Ascorbin – GVillani82