반응형

안드로이드는 계속 업데이트가 돼서 되던 것도 갑자기 안되는구나

마지막 줄"Update minCompileSdk in modules with dependencies that require a higher minCompileSdk."을 클릭하면

오류 위치로 바로 이동한다.

아래 내용은 compileSdk를 34에서 최소 35 이상으로 변경하라는 의미이다.

2 issues were found when checking AAR metadata:

  1.  Dependency 'androidx.core:core:1.15.0' requires libraries and applications that
      depend on it to compile against version 35 or later of the
      Android APIs.

      :app is currently compiled against android-34.

      Recommended action: Update this project to use a newer compileSdk
      of at least 35, for example 35.

      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.core:core-ktx:1.15.0' requires libraries and applications that
      depend on it to compile against version 35 or later of the
      Android APIs.

      :app is currently compiled against android-34.

      Recommended action: Update this project to use a newer compileSdk
      of at least 35, for example 35.

      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).
      Update minCompileSdk in modules with dependencies that require a higher minCompileSdk.

 

참고)

https://picturepark.tistory.com/8#Task%20%3Aapp%3AcheckDebugAarMetadata%20FAILED-1

 

[이슈/Android] Task :app:checkDebugAarMetadata FAILED

2023년 11월 9일 작성Task :app:checkDebugAarMetadata FAILEDExecution failed for task ':app:checkDebugAarMetadata'.A failure occurred while executing cohttp://m.android.build.gradle.internal.tasks.CheckAarMetadataWorkAction17 issues were found when chec

picturepark.tistory.com

 

 

+ Recent posts