인프런 영문 브랜드 로고
인프런 영문 브랜드 로고

인프런 커뮤니티 질문&답변

20210802님의 프로필 이미지
20210802

작성한 질문수

윤재성의 자바 기반 안드로이드 앱개발 Part 1 - UI Programming

8강 viewbinding 강의 관련 질문입니다.

작성

·

462

·

수정됨

0

현재 강의에서 진행하시는 안드로이드스튜디오 버전과 저의 안드로이드스튜디오 버전이 맞지 않아서 에러가 발생하는 듯합니다. 우선 가장 최신 버전으로 업그레이드하여 JAVA와 gradle 버전 모두 최신버전입니다. 그래도 에러가 없어지지 않습니다. 어떻게 해결해야 하나요?2023-01-18 (1).png2023-01-18 (2).png2023-01-18 (3).png2023-01-18.png

답변 1

0

소프트캠퍼스님의 프로필 이미지
소프트캠퍼스
지식공유자

안녕하세요. 인프런에 캡쳐 화면을 올려주시면 너무 작게 나오고 확대가 되지 않습니다. 해당 오류 내용의 글을 확인하기가 어렵습니다. 또한 최근에 올라온 Part 3은 최신버전의 개발도구를 사용하였고 Part 1의 내용과 다르지 않게 ViewBinding을 설정해 사용하고 있습니다. 오류 내용을 드래그하여 복사한 후에 올려주시면 감사하겠습니다.

20210802님의 프로필 이미지
20210802
질문자

답변 감사합니다. 우선 오류내용 드래그해서 올려드리도록 하겠습니다.

 

6 issues were found when checking AAR metadata:

1. Dependency 'androidx.appcompat:appcompat-resources:1.6.0' requires libraries and applications that

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

Android APIs.

:app is currently compiled against android-32.

Recommended action: Update this project to use a newer compileSdkVersion

of at least 33, for example 33.

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

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

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

minSdkVersion (which determines which devices the app can be installed

on).

2. Dependency 'androidx.appcompat:appcompat:1.6.0' requires libraries and applications that

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

Android APIs.

:app is currently compiled against android-32.

Recommended action: Update this project to use a newer compileSdkVersion

of at least 33, for example 33.

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

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

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

minSdkVersion (which determines which devices the app can be installed

on).

3. Dependency 'androidx.activity:activity:1.6.0' requires libraries and applications that

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

Android APIs.

:app is currently compiled against android-32.

Recommended action: Update this project to use a newer compileSdkVersion

of at least 33, for example 33.

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

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

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

minSdkVersion (which determines which devices the app can be installed

on).

4. Dependency 'androidx.core:core-ktx:1.9.0' requires libraries and applications that

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

Android APIs.

:app is currently compiled against android-32.

Recommended action: Update this project to use a newer compileSdkVersion

of at least 33, for example 33.

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

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

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

minSdkVersion (which determines which devices the app can be installed

on).

5. Dependency 'androidx.core:core:1.9.0' requires libraries and applications that

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

Android APIs.

:app is currently compiled against android-32.

Recommended action: Update this project to use a newer compileSdkVersion

of at least 33, for example 33.

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

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

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

minSdkVersion (which determines which devices the app can be installed

on).

6. Dependency 'androidx.annotation:annotation-experimental:1.3.0' requires libraries and applications that

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

Android APIs.

:app is currently compiled against android-32.

Recommended action: Update this project to use a newer compileSdkVersion

of at least 33, for example 33.

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

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

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

minSdkVersion (which determines which devices the app can be installed

on).

 

20210802님의 프로필 이미지
20210802

작성한 질문수

질문하기