failed to find style 'coordinatorlayoutstyle' in current theme android 에러 해결방법
Error2020. 6. 15. 06:00
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 에러가 해결이 되는 것을 확인을 할 수 있습니다.
'Error' 카테고리의 다른 글
amd Unable to install Intel HAXM 해결하기 (0) | 2020.06.18 |
---|---|
string boot finished with non-zero exit value 1 에러 해결 가능한 방법 (0) | 2020.06.17 |
You don't have permission to access on this server 에러 해결방법 (0) | 2020.06.14 |
php form php enctype=multipartform-data 한글깨짐 해결하는 방법 (0) | 2020.06.06 |
Failed to load AppCompat ActionBar with unknown error 에러 해결방법 (0) | 2018.12.02 |
댓글()