안드로이드 빌드 에러..

조회수 1805회

Task :app:mergeDebugResources C:\Users\logisvalley202102.gradle\caches\transforms-2\files-2.1\aa17ac74a23167bd2f572c6c8f9c564d\appcompat-1.3.1\res\values\values.xml:67:4: Invalid for given resource value.

Task :app:mergeDebugResources FAILED Execution failed for task ':app:mergeDebugResources'. A failure occurred while executing com.android.build.gradle.internal.res.ResourceCompilerRunnable Resource compilation failed. Check logs for details.

  • Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

FAILURE: Build failed with an exception.

  • What went wrong: Execution failed for task ':app:mergeDebugResources'.

    A failure occurred while executing com.android.build.gradle.internal.res.ResourceCompilerRunnable Resource compilation failed. Check logs for details.

  • Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org


Failed to compile values file.

주내용은 유효하지않은 리소스파일이나 요소에 값이 부여됬다..??? 는거같은데

구글링해서 color name에서 대문자를 제거한다든지 drawable 파일에서 color속성은 경로에서'@xx/xxxx'을 값으로 '#ff0000' 이런식으로 바꿔준다는지 괜한 sdk버저능ㄹ 바꿔본다는지 등등 해봤는데 이것들과 상관은 없는문제 같았습니다.

new project해서 소스코드를 옮겨서 해봐도 똑같았습니다..

그리고 위에 나오는 경로 타고 가보니 values.xml res 폴더 구조상 보이지않던 파일이 나왔습니다.

  • (•́ ✖ •̀)
    알 수 없는 사용자

답변을 하려면 로그인이 필요합니다.

프로그래머스 커뮤니티는 개발자들을 위한 Q&A 서비스입니다. 로그인해야 답변을 작성하실 수 있습니다.

(ಠ_ಠ)
(ಠ‿ಠ)