flutter_zendesk_messaging
flutter_zendesk_messaging copied to clipboard
Android Error when updated to 2.8.0 version
- What went wrong: Execution failed for task ':app:checkDebugAarMetadata'.
A failure occurred while executing com.android.build.gradle.internal.tasks.CheckAarMetadataWorkAction 2 issues were found when checking AAR metadata:
1. Dependency 'androidx.core:core-ktx:1.12.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.
Also, the maximum recommended compile SDK version for Android Gradle
plugin 7.3.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
compileSdkVerion of at least 34.
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).
@harryandroiddev Yes, currently 2.8.0 has this bug. if Android Gradle plugin 7.3.0, you need use 2.7.7 version. because this bug is dependencies zendesk.messaging:messaging-android:2.16.0
@chyiiiiiiiiiiii fix can reference https://github.com/zendesk/zendesk_sdk_demo_apps_android/tree/main/zendesk_sdk_demo
Please try the latest version.