Description
tenjin_plugin 1.4.0 hardcodes compileSdkVersion 33 in its Android library module. The bundled Tenjin Android SDK and its resolved AndroidX dependencies now require consumers to compile against Android API 34 or newer, so current Flutter Android release builds fail during AAR metadata validation even when the application itself compiles against API 36.
Error Message
Execution failed for task ':tenjin_plugin:checkReleaseAarMetadata'.
> 15 issues were found when checking AAR metadata:
Dependency 'androidx.fragment:fragment:1.7.1' requires libraries and applications
that depend on it to compile against version 34 or later of the Android APIs.
:tenjin_plugin is currently compiled against android-33.
The same requirement is reported for dependencies including androidx.lifecycle:lifecycle-runtime:2.7.0, androidx.lifecycle:lifecycle-process:2.7.0, and androidx.exifinterface:exifinterface:1.4.1.
Environment
- tenjin_plugin: 1.4.0
- Tenjin Android SDK: 1.20.0
- Flutter: 3.44.4
- Android Gradle Plugin: 8.13.2
- Application compile SDK: 36
- Java: 17
Steps to Reproduce
- Add
tenjin_plugin: ^1.4.0 to a current Flutter Android application.
- Resolve dependencies with
flutter pub get.
- Build a release app bundle with
flutter build appbundle --release.
- Observe
:tenjin_plugin:checkReleaseAarMetadata fail because the plugin library is compiled against API 33.
Current Behavior
The application can compile against API 36, but the Tenjin plugin remains independently pinned to API 33 and fails AAR metadata validation before compilation completes.
Expected Behavior
The latest Tenjin Flutter plugin should compile successfully with the AndroidX dependency versions resolved by Tenjin Android SDK 1.20.0 and current stable Flutter tooling.
Proposed Fix
Raise the plugin module's compileSdkVersion from 33 to at least 34. This changes only the APIs available while compiling the library; it does not change the plugin's minSdkVersion 21 or the consuming application's target SDK.
Impact
This blocks Android release builds for applications using the latest tenjin_plugin, including CI/CD app-bundle builds intended for Google Play.
Description
tenjin_plugin1.4.0 hardcodescompileSdkVersion 33in its Android library module. The bundled Tenjin Android SDK and its resolved AndroidX dependencies now require consumers to compile against Android API 34 or newer, so current Flutter Android release builds fail during AAR metadata validation even when the application itself compiles against API 36.Error Message
The same requirement is reported for dependencies including
androidx.lifecycle:lifecycle-runtime:2.7.0,androidx.lifecycle:lifecycle-process:2.7.0, andandroidx.exifinterface:exifinterface:1.4.1.Environment
Steps to Reproduce
tenjin_plugin: ^1.4.0to a current Flutter Android application.flutter pub get.flutter build appbundle --release.:tenjin_plugin:checkReleaseAarMetadatafail because the plugin library is compiled against API 33.Current Behavior
The application can compile against API 36, but the Tenjin plugin remains independently pinned to API 33 and fails AAR metadata validation before compilation completes.
Expected Behavior
The latest Tenjin Flutter plugin should compile successfully with the AndroidX dependency versions resolved by Tenjin Android SDK 1.20.0 and current stable Flutter tooling.
Proposed Fix
Raise the plugin module's
compileSdkVersionfrom 33 to at least 34. This changes only the APIs available while compiling the library; it does not change the plugin'sminSdkVersion 21or the consuming application's target SDK.Impact
This blocks Android release builds for applications using the latest
tenjin_plugin, including CI/CD app-bundle builds intended for Google Play.