🤍 전 강의 25% 할인 중 🤍

2024년 상반기를 돌아보고 하반기에도 함께 성장해요!
인프런이 준비한 25% 할인 받으러 가기 >>

  • 카테고리

    질문 & 답변
  • 세부 분야

    모바일 앱 개발

  • 해결 여부

    미해결

10 issues were found when checking AAR metadata:

24.05.24 20:05 작성 조회수 101

0

파이어베이스 북마크 만들기 하면서 나오는 에러입니다.

1. Dependency 'androidx.credentials:credentials:1.2.0-rc01' 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.

Also, the maximum recommended compile SDK version for Android Gradle

plugin 8.0.0 is 33.

Recommended action: Update this project's version of the Android Gradle

plugin to one that supports 34, then update this project to use

compileSdk of at least 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).

2. Dependency 'androidx.credentials:credentials-play-services-auth:1.2.0-rc01' 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.

Also, the maximum recommended compile SDK version for Android Gradle

plugin 8.0.0 is 33.

Recommended action: Update this project's version of the Android Gradle

plugin to one that supports 34, then update this project to use

compileSdk of at least 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).

3. Dependency 'androidx.navigation:navigation-common:2.7.5' 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.

Also, the maximum recommended compile SDK version for Android Gradle

plugin 8.0.0 is 33.

Recommended action: Update this project's version of the Android Gradle

plugin to one that supports 34, then update this project to use

compileSdk of at least 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).

4. Dependency 'androidx.navigation:navigation-common-ktx:2.7.5' 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.

Also, the maximum recommended compile SDK version for Android Gradle

plugin 8.0.0 is 33.

Recommended action: Update this project's version of the Android Gradle

plugin to one that supports 34, then update this project to use

compileSdk of at least 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).

5. Dependency 'androidx.navigation:navigation-runtime:2.7.5' 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.

Also, the maximum recommended compile SDK version for Android Gradle

plugin 8.0.0 is 33.

Recommended action: Update this project's version of the Android Gradle

plugin to one that supports 34, then update this project to use

compileSdk of at least 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).

6. Dependency 'androidx.navigation:navigation-ui:2.7.5' 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.

Also, the maximum recommended compile SDK version for Android Gradle

plugin 8.0.0 is 33.

Recommended action: Update this project's version of the Android Gradle

plugin to one that supports 34, then update this project to use

compileSdk of at least 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).

7. Dependency 'androidx.navigation:navigation-runtime-ktx:2.7.5' 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.

Also, the maximum recommended compile SDK version for Android Gradle

plugin 8.0.0 is 33.

Recommended action: Update this project's version of the Android Gradle

plugin to one that supports 34, then update this project to use

compileSdk of at least 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).

8. Dependency 'androidx.navigation:navigation-ui-ktx:2.7.5' 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.

Also, the maximum recommended compile SDK version for Android Gradle

plugin 8.0.0 is 33.

Recommended action: Update this project's version of the Android Gradle

plugin to one that supports 34, then update this project to use

compileSdk of at least 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).

9. Dependency 'androidx.navigation:navigation-fragment-ktx:2.7.5' 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.

Also, the maximum recommended compile SDK version for Android Gradle

plugin 8.0.0 is 33.

Recommended action: Update this project's version of the Android Gradle

plugin to one that supports 34, then update this project to use

compileSdk of at least 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).

10. Dependency 'androidx.navigation:navigation-fragment:2.7.5' 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.

Also, the maximum recommended compile SDK version for Android Gradle

plugin 8.0.0 is 33.

Recommended action: Update this project's version of the Android Gradle

plugin to one that supports 34, then update this project to use

compileSdk of at least 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).

대체 어떤 부분을 봐야 할까요...

답변 2

·

답변을 작성해보세요.

1

안녕하세요

build.gradle에 compileSdk, targetSdk 를 34로 변경해도 안되시면

전체 코드를 깃허브/구글 드라이브 등을 통해 공유해주세요.
image

 

cloverj0님의 프로필

cloverj0

질문자

2024.05.30

안녕하세요! 34로 변경하니 잘 작동합니다 🙂 알려주셔서 감사합니다!

1

인프런 AI 인턴님의 프로필

인프런 AI 인턴

2024.05.24

안녕하세요, 인프런 AI 인턴입니다.

cloverj0님의 질문과 관련해서, 비슷한 상황에 처한 다른 수강생의 질문과 해결책을 찾을 수 있었습니다. 이러한 오류는 프로젝트의 compileSdkVersion 및 필요한 경우 targetSdkVersion을 업데이트해야 하는 상황에서 발생합니다. 여러분의 build.gradle 파일에서 이러한 설정 값을 조정하여 문제를 해결할 수 있습니다.

관련된 정확한 해결 방안은 다음과 같습니다:
- 프로젝트의 compileSdkVersion을 34 이상으로 업데이트하십시오.
- 필요한 경우, targetSdkVersion도 최신 버전으로 업데이트하십시오.

다음 질문 링크에서 유사한 문제에 대한 상세한 논의 및 해결 방안을 찾을 수 있습니다. 이는 androidx.navigation:navigation-common 등 여러 라이브러리가 Android API 버전 34 이상을 요구하기 때문에 발생하는 이슈로, 해당 수강생 또한 compileSdktargetSdk 버전을 업데이트하여 문제를 해결할 수 있었습니다.

또한, 여기에 다른 관련 질문도 참고하시는 것이 도움이 될 수 있습니다. 이 질문에서도 Android Studio 프로젝트에서 compileSdkVersiontargetSdkVersion 업데이트의 중요성에 대해 논의됩니다.

저는 질문자님의 이해를 돕고자 지식공유자님의 기존 답변을 참고하여 유사한 답변 링크를 추천해드리고 있습니다.
현재 베타 기능으로 답변이 만족스럽지 않을 수 있는 점 양해 부탁드립니다. 🙏
추가적으로 궁금한 점이 있으시면, 이어서 질문해 주세요. 곧 지식공유자께서 답변해 주실 것입니다.

채널톡 아이콘