Issue with androidx
🐛 Bug Report
Expected behavior
WARNING: This version of flutter_tts will break your Android build if it or its dependencies aren't compatible with AndroidX.
See https://goo.gl/CP92wY for more information on the problem and how to fix it.
This warning prints for all Android build failures. The real root cause of the error may be unrelated.
Reproduction steps
I follow the steps of googld ads about add this code implementation('androidx.work:work-runtime') { version { strictly '2.6.0' } } source: https://pub.dev/packages/google_mobile_ads/changelog
Configuration
Version: 2.5.3
Platform:
- Android
@rachidev84 this message is coming from the build.gradle file. https://github.com/dlutton/flutter_tts/blob/master/android/build.gradle#L5
That message will be printed if buildResult.failure && !rootProject.ext.has(ANDROIDX_WARNING)
Are you using this plugin along with the google mobile ads plugin?
Yes I use google mobile ads plugin last version and I set targetSdkVersion to 31 minSdkVersion 21 targetSdkVersion 31 multiDexEnabled true versionCode flutterVersionCode.toInteger() versionName flutterVersionName
@rachidev84 please try using the latest 3.2.4 version. If you still receive errors, please paste the full error since it may be unrelated to androidx as you mentioned.