Hi yoahn 개발블로그

aapt android resource linking failed 본문

카테고리 없음

aapt android resource linking failed

hi._.0seon 2021. 11. 26. 00:18
반응형

안드로이드를 실행하던 중 갑자기 AAPT가 리소스를 연결하지 못했다는 에러가 뜨는데 이전에 실행했던 것과 같은 코드를 사용해도 계속 그런 결과가 나왔다. 찾아보니까 그냥 코드 오류인 경우가 대부분인데 나는 아니어서 여기에 남겨둠

 

build.gradle 파일에서

dependencies {
    implementation fileTree(dir: "libs", include: ["*.jar"])
    implementation 'androidx.appcompat:appcompat:1.3.1'
    implementation 'androidx.constraintlayout:constraintlayout:2.1.2'
    testImplementation 'junit:junit:4.12'
    androidTestImplementation 'androidx.test.ext:junit:1.1.3'
    androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'

}

dependencies 부분에서 두번째 줄에 있는 implementation 버전을 변경하니까 잘 동작했다.

반응형
Comments