I have been doing Flutter for only 2 weeks. I love it. Everything has been going well. Until now.
I need an app I am building to play a few short sounds on certain events. This package seemed the way to go:
https://pub.dev/packages/audioplayers
It looks so simple to play a sound, and the package gets a 99% popularity. BUT!
I can't even get the thing to build. I get a bunch of different build errors when I try to use it, even with a dead simple demo app. A bunch of stuff like:
"Incompatible classes were found in dependencies. Remove them from the classpath or use '-Xskip-metadata-version-check' to suppress errors"
and
"Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.1.15."
This stuff is way over my head. Until yesterday everything "just worked." I have used at least 4 other packages seamlessly. I am frustrated and need help.
Can anyone throw an old dog a bone? :)