Error-All versions of the libraries must be the same at this time.

CODEDRAGON Development/Android

반응형

   

오류 메시지

[2014-07-06 15:47:10 - HellowAndroid] Found 2 versions of android-support-v4.jar in the dependency list,

[2014-07-06 15:47:10 - HellowAndroid] but not all the versions are identical (check is based on SHA-1 only at this time).

[2014-07-06 15:47:10 - HellowAndroid] All versions of the libraries must be the same at this time.

[2014-07-06 15:47:10 - HellowAndroid] Versions found are:

[2014-07-06 15:47:10 - HellowAndroid] Path: C:\javanAndroid\workspace_android\appcompat_v7\libs\android-support-v4.jar

[2014-07-06 15:47:10 - HellowAndroid]         Length: 648327

[2014-07-06 15:47:10 - HellowAndroid]         SHA-1: ded9acc6a9792b8f1afc470f0c9cd36d178914cd

[2014-07-06 15:47:10 - HellowAndroid] Path: C:\javanAndroid\workspace_android\HellowAndroid\libs\android-support-v4.jar

[2014-07-06 15:47:10 - HellowAndroid]         Length: 758727

[2014-07-06 15:47:10 - HellowAndroid]         SHA-1: efec67655f6db90757faa37201efcee2a9ec3507

[2014-07-06 15:47:10 - HellowAndroid] Jar mismatch! Fix your dependencies

   

   

   

해결방법

appcompat_v7\, HellowAndroid\

두 프로젝트 모두 android-support-v4.jar를 가지고 있어서 충돌이 나기 때문에 에러가 나는 것입니다.

어느 한 프로젝트에서 \libs\android-support-v4.jar 제거해주면 됩니다.

여기서는 HellowAndroid의 \libs\android-support-v4.jar를 제거해 주겠습니다.