• 카테고리

    질문 & 답변
  • 세부 분야

    모바일 앱 개발

  • 해결 여부

    미해결

새 프로젝트 만들어서 실행 할때 마다 에러가 뜹니다

23.10.23 21:23 작성 조회수 4.3k

1

An issue was found when checking AAR metadata:

1. Dependency 'androidx.activity:activity:1.8.0' requires libraries and applications that

depend on it to compile against version 34 or later of the

Android APIs.

:app is currently compiled against android-33.

Recommended action: Update this project to use a newer compileSdk

of at least 34, for example 34.

Note that updating a library or application's compileSdk (which

allows newer APIs to be used) can be done separately from updating

targetSdk (which opts the app in to new runtime behavior) and

minSdk (which determines which devices the app can be installed

on).

 

새로 프로젝트 만들어서 실행하면 위 메시지가 떠서

build.gradle.kts의

compileSdk = 33를 34로 매번 바꾸고 있는데 혹시 무슨 설정을 바꾸거나 업데이트를 해서 이후 안뜨게 할수는 없는지요?

답변 1

답변을 작성해보세요.

0

안녕하세요

저도 해당부분은 수동으로 변경하고 있습니다.

조금 불편하시면 프로젝트를 하나 만드셔서 복사해서 쓰셔도 좋습니다 :)

사실 예제를 연습할 때 프로젝트를 반복적으로 만드실텐데 아마 하나의 프로젝트를 장기적으로 개발하시다보면 곧 gradle 세팅을 변경하실 일이 드물겁니다~

ohday72님의 프로필

ohday72

질문자

2023.10.23

빠른 답변 달려서 깜놀했습니다

아직까진 맘 비우고 수정하는 방법밖에 없나보네요

즐거운 밤 되세요 답변 감사합니다