failed to find style 'coordinatorlayoutstyle' in current theme android 에러 해결방법

Error|2020. 6. 15. 06:00

failed to find style 'coordinatorlayoutstyle' in current theme android 에러 해결방법


안드로이드 프로그래밍을 한다면 원하는 어플을 직접 제작을 할 수도 있습니다. 개발자 계정이 있으면 구글 플레이에 업로드를 해볼 수도 있습니다. 자신 만의 앱 아이디어가 있으면 프로그래밍을 통해 실현을 해보는 것도 멋진 경험입니다. failed to find style 'coordinatorlayoutstyle' in current theme android 에러 해결방법에 대해 알아보도록 해요.

프로그래밍을 할 때 자주 고민이 될 수 있는 것이 에러입니다. 안드로이드 프로그래밍을 할 때 sdk 버전이 맞지 않아 발생을 하는 에러들이 많습니다. 해당 에러들은 에러 내용을 구글 검색을 통해 다양하게 알아볼 수도 있습니다. 그 중에 에러의 실마리를 풀 수 있는 방법도 존재합니다.




failed to find style 'coordinatorlayoutstyle' in current theme android에러는 basic activity를 사용을 할 때 sdk28에서 나타나는 에러 문제로 sdk를 27로 수정을 해야 해결이 됩니다.


현재 안드로이드 프로젝트\app\build.gradle file를 엽니다. 


compileSdkVersion 28

targetSdkVersion 28


에서 아래 처럼 수정을 하기


compileSdkVersion 27

targetSdkVersion 27


추가적으로 수정을 해야 하는 곳이 아래 두 부분입니다.


implementation ‘com.android.support:appcompat

implementation ‘com.android.support:design


위의 두 부분을 아래와 같이 수정을 해 주어야 합니다.


implementation ‘com.android.support:appcompat-v7:27.1.1’

implementation ‘com.android.support:design:27.1.1’


위와 같이 수정을 한 후에 Sync Now를 하면 정상적으로 failed to find style 'coordinatorlayoutstyle' in current theme android 에러가 해결이 되는 것을 확인을 할 수 있습니다.

댓글()