마스터Q&A 안드로이드는 안드로이드 개발자들의 질문과 답변을 위한 지식 커뮤니티 사이트입니다. 안드로이드펍에서 운영하고 있습니다. [사용법, 운영진]

프로젝트의 gen 폴더의 R.java 파일에 에러표시가있습니다

0 추천
오늘하루종일 에러때문에 헤메고있습니다

아래에러내용이 뭔뜻인지...

프로젝트의 gen 폴더의 R.java 파일에 에러표시가있습니다

해결방법좀 부탁합니다

[2015-12-07 19:45:40 - ModuMedia] Found 2 versions of android-support-v4.jar in the dependency list,
[2015-12-07 19:45:40 - ModuMedia] but not all the versions are identical (check is based on SHA-1 only at this time).
[2015-12-07 19:45:40 - ModuMedia] All versions of the libraries must be the same at this time.
[2015-12-07 19:45:40 - ModuMedia] Versions found are:
[2015-12-07 19:45:40 - ModuMedia] Path: E:\android\myproject\appcompat_v7\libs\android-support-v4.jar
[2015-12-07 19:45:40 - ModuMedia]     Length: 758727
[2015-12-07 19:45:40 - ModuMedia]     SHA-1: efec67655f6db90757faa37201efcee2a9ec3507
[2015-12-07 19:45:40 - ModuMedia] Path: E:\android\myproject\ModuMedia\libs\android-support-v4.jar
[2015-12-07 19:45:40 - ModuMedia]     Length: 1074044
[2015-12-07 19:45:40 - ModuMedia]     SHA-1: 33b27a8d2a5b87e6eb6c60e87a5374ffbfeacc3a
[2015-12-07 19:45:40 - ModuMedia] Jar mismatch! Fix your dependencies
[2015-12-07 19:45:41 - ModuMedia] Found 2 versions of android-support-v4.jar in the dependency list,
[2015-12-07 19:45:41 - ModuMedia] but not all the versions are identical (check is based on SHA-1 only at this time).
[2015-12-07 19:45:41 - ModuMedia] All versions of the libraries must be the same at this time.
[2015-12-07 19:45:41 - ModuMedia] Versions found are:
[2015-12-07 19:45:41 - ModuMedia] Path: E:\android\myproject\appcompat_v7\libs\android-support-v4.jar
[2015-12-07 19:45:41 - ModuMedia]     Length: 758727
[2015-12-07 19:45:41 - ModuMedia]     SHA-1: efec67655f6db90757faa37201efcee2a9ec3507
[2015-12-07 19:45:41 - ModuMedia] Path: E:\android\myproject\ModuMedia\libs\android-support-v4.jar
[2015-12-07 19:45:41 - ModuMedia]     Length: 1074044
[2015-12-07 19:45:41 - ModuMedia]     SHA-1: 33b27a8d2a5b87e6eb6c60e87a5374ffbfeacc3a
[2015-12-07 19:45:41 - ModuMedia] Jar mismatch! Fix your dependencies
[2015-12-07 19:46:20 - ModuMedia] Found 2 versions of android-support-v4.jar in the dependency list,
[2015-12-07 19:46:20 - ModuMedia] but not all the versions are identical (check is based on SHA-1 only at this time).
[2015-12-07 19:46:20 - ModuMedia] All versions of the libraries must be the same at this time.
[2015-12-07 19:46:20 - ModuMedia] Versions found are:
[2015-12-07 19:46:20 - ModuMedia] Path: E:\android\myproject\appcompat_v7\libs\android-support-v4.jar
[2015-12-07 19:46:20 - ModuMedia]     Length: 758727
[2015-12-07 19:46:20 - ModuMedia]     SHA-1: efec67655f6db90757faa37201efcee2a9ec3507
[2015-12-07 19:46:20 - ModuMedia] Path: E:\android\myproject\ModuMedia\libs\android-support-v4.jar
[2015-12-07 19:46:20 - ModuMedia]     Length: 1074044
[2015-12-07 19:46:20 - ModuMedia]     SHA-1: 33b27a8d2a5b87e6eb6c60e87a5374ffbfeacc3a
[2015-12-07 19:46:20 - ModuMedia] Jar mismatch! Fix your dependencies
[2015-12-07 19:46:47 - Android-eye] ERROR: In <declare-styleable> MenuView, unable to find attribute android:preserveIconSpacing
참참참 (3,100 포인트) 님이 2015년 12월 7일 질문

1개의 답변

0 추천

android-support-v4.jar파일이 두개있어서 문제가 발생했다고 나와있네요.

Path: E:\android\myproject\appcompat_v7\libs\android-support-v4.jar

Path: E:\android\myproject\ModuMedia\libs\android-support-v4.jar

위 경로에 있는 android-support-v4.jar파일 둘 중 하나를 지우고 해보시고 안되면

둘중 하나를 지우고 남은 하나를 복사해서 지운 자리에 넣어주면 해결될듯합니다.

박스마트 (630 포인트) 님이 2015년 12월 8일 답변
...