Flutter pubspec.yaml ,audioplayer not working

Viewed 925

I started flutter these days. I'm trying to make an audio drum app.So I added the dependencies to file pubspec.yaml audioplayers: ^0.19.1 But when I click 'pub get' I get this error.

Cannot create link, path = 'C:\src\flutter\flutter.pub-cache_temp\dir1b96d188\ios\Classes\AudioplayersPlugin.h' (OS Error: Required privilege is not provided by client. , errno = 1314) pub get failed (66; , errno = 1314))

1 Answers

Use audioplayers 0.20.1 Then go to .../android/buildgradle and change ext.kotlin_version to '1.4.32' That worked for me.

Related