💬 Questions and Help
I'm having trouble getting TTS to work on my codebase when using an emulator that is running Android 11 (tested on multiple emulators). For testing I copied the example code into my codebase and it is stuck on "Loading engines..." and "Loading Languages..." This same code works fine on Android 10 on the emulator, and it also works on Android 11 on physical devices, just not emulated Android 11 devices.
Configuration:
- In
android/app/build.gradle I have the minimum Android SDK version set to 21 as instructed in the README.
- Dart SDK constraints: ">=2.6.0 <3.0.0"
- flutter_tts version: 3.2.1
I have tried with and without the following included in the manifest file and it made no difference:
<manifest ... >
...
<queries>
<intent>
<action android:name="TextToSpeech.Engine.INTENT_ACTION_TTS_SERVICE" />
</intent>
</queries>
...
</manifest>
I'm not sure that I am including this correctly though.
💬 Questions and Help
I'm having trouble getting TTS to work on my codebase when using an emulator that is running Android 11 (tested on multiple emulators). For testing I copied the example code into my codebase and it is stuck on "Loading engines..." and "Loading Languages..." This same code works fine on Android 10 on the emulator, and it also works on Android 11 on physical devices, just not emulated Android 11 devices.
Configuration:
android/app/build.gradleI have the minimum Android SDK version set to 21 as instructed in the README.I have tried with and without the following included in the manifest file and it made no difference:
I'm not sure that I am including this correctly though.