-
[Kotlin 시작] 안드로이드 스튜디오 첫 컴파일 시 발생하는 Error - We recommend using a newer Android Gradle plugin to use compileSdk = 33개발 & 계발/Kotlin(코틀린) 2022. 7. 24. 18:47반응형
참고) Android Studio Version
이전 포스팅에서 License Accept가 필요해서 했고, 이 후에 아래와 같이 에러가 발생하였다.
We recommend using a newer Android Gradle plugin to use compileSdk = 33 This Android Gradle plugin (7.0.3) was tested up to compileSdk = 31 This warning can be suppressed by adding android.suppressUnsupportedCompileSdk=33 to this project's gradle.properties The build will continue, but you are strongly encouraged to update your project to use a newer Android Gradle Plugin that has been tested with compileSdk = 33
에러 메시지 내용을 자세히 살펴 보니
gradle.properties 라는 파일에 android.suppressUnsupportedCompileSdk=33 라는 내용을 추가하라는 것 같았다
다시 Run 시켜보면,, 이 에러는 사라졌다. (하지만,, 다른 에러가... ㅠㅠ, 오늘 작성하는 포스트가 많네요 ㅠㅠ)