How to fix one or more issues were found when checking AAR metadata Exception in android studio

Описание к видео How to fix one or more issues were found when checking AAR metadata Exception in android studio

In this video, we will be fixing six issues that were found when checking AAR metadata in an Android app. The first issue is that the 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. However, the app is currently compiled against android-32. The recommended action for this issue is to update the project to use a newer compileSdkVersion of at least 33. It's important to note that updating a library or application's compileSdkVersion can be done separately from updating targetSdkVersion and minSdkVersion.

The second issue is similar to the first, where the dependency 'androidx.appcompat:appcompat:1.6.0' also requires libraries and applications that depend on it to compile against version 33 or later of the Android APIs. The recommended action for this issue is also to update the project to use a newer compileSdkVersion of at least 33.

The third, fourth, fifth, and sixth issues are also similar to the first and second issues, where the dependencies 'androidx.activity:activity:1.6.0', 'androidx.core:core-ktx:1.9.0', 'androidx.core:core:1.9.0', and 'androidx.annotation:annotation-experimental:1.3.0' all require libraries and applications that depend on them to compile against version 33 or later of the Android APIs. The recommended action for these issues is also to update the project to use a newer compileSdkVersion of at least 33.

In conclusion, updating the project to use a newer compileSdkVersion of at least 33 is the recommended action for all of the issues found when checking AAR metadata in this Android app. It's important to keep in mind that updating a library or application's compileSdkVersion can be done separately from updating targetSdkVersion and minSdkVersion.

Subscribe for more

Комментарии

Информация по комментариям в разработке