Open DevelopersZink opened 4 years ago
Same here:
$ flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, v1.12.13+hotfix.5, on Linux, locale es_ES.UTF-8)
[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
[✓] Android Studio (version 3.5)
[✓] VS Code (version 1.41.1)
[!] Connected device
! No devices available
! Doctor found issues in 1 category.
This issue is the same described in: https://github.com/vrtdev/flutter_workmanager/issues/120 and https://github.com/rxlabz/speech_recognition/issues/71
Work manager crashes if speech recognition is imported in the app.
If i use speech_recognition without workmanager, everything works fine just adding it in the pubspec.yaml
When i try to use workmanager its also working. For that, in addition to the pubspec.yaml dependecy, it requires some more changes
In AndroidManifest.xml, i changed:
for:
and created Application.kt:
Flutter doctor:
Versions from pubspec.yaml:
I get this error on execution: