Questions tagged [flutter-audioplayers]

59 questions
1
vote
1 answer

Flutter Audio Player cannot play audio file from the Device File Path in IOS

I'm using flutter audio player package https://pub.dev/packages/audioplayers to play audio file from the Device File Path. The problem is I cannot Play Audio File in IOS. But it's working fine in Android. Please Help me how to play audio File from…
mppz
  • 31
  • 4
1
vote
1 answer

Flutter audioplayers 3.0.1 and flutter_local_notifications: ^13.0.0 help needed with new syntax

Hello i have made a flutter project and seems like pubspec packs are getting updated with new syntax every second with zero documentation of the replacements. i have some code, im basickly trying to create an alarm clock where on a notification i…
1
vote
4 answers

Flutter a required Package wasn't found

type hereCMake Error at /snap/flutter/130/usr/share/cmake-3.16/Modules/FindPkgConfig.cmake:463 (message): A required package was not found Call Stack (most recent call first): …
1
vote
0 answers

Audio seek not working with package Audioplayers

i need to make an audio listening application and in that need to implement a seeker. Now i can listen to audio and also able to pause it but when i seeks the audio.It starts again. I used Audioplayers(https://pub.dev/packages/audioplayers) package…
Akhil
  • 419
  • 5
  • 15
1
vote
5 answers

AudioPlayers does not work on iOS | Flutter plugin

I am creating a Flutter plugin. Currently, the code: Synthesises an String into an audio file Gets the path to the file Plays the audio file using audioplayers When I run the application in Android, it perfectly works. Nevertheless, when I run it…
bellotas
  • 2,349
  • 8
  • 29
  • 60
1
vote
0 answers

unable to run audioplayers flutter AndroidStudio

I'm trying to play a song when a flat button is clicked. I imported the audioplayers package but I got an error when building the app. It's very long and I think it cames from an iOS relative problem but I don't know which. Here's the main parts of…
elios_cama
  • 217
  • 1
  • 3
  • 13
1
vote
1 answer

(MissingPluginException(No implementation found for method setNotification on channel xyz.luan/audioplayers))

I am using audioplayers 0.16.1 library for my music application but I keep getting the following error while building notifications. My Error Code: Exception has occurred. MissingPluginException (MissingPluginException(No implementation found for…
Berat Kurt
  • 95
  • 1
  • 8
1
vote
0 answers

Flutter AudioPlayers or Metronome lagging

I am making a metronome app in Flutter. I used the AudioPlayers plugin along with the Metronome class from the quiver.async library. Here is the part of the code that I used to achieve this: import 'dart:async' show Future,…
Andi Qu
  • 186
  • 1
  • 10
0
votes
1 answer

flutter-audio players (pubspec.yaml error)

I have error I think it is on pubspec.yaml I did not completely understand the readme on fluter packages this is the code : ElevatedButton( onPressed: () { final player = AudioCache(); …
0
votes
0 answers

How do I fix the following error: A problem occurred evaluating project ':audioplayers_android'?

I was running my application and this error just showed up: A problem occurred evaluating project ':audioplayers_android' No signature of method: build_dgdn03jnsclcv5nxgrmq5bcz.android() is applicable for argument types:…
0
votes
1 answer

Flutter audiolpayers

I'm pretty new to Flutter and wanna try pogram an app just for fun and personal use. So I wanna play a MP3 and on my research I found the audioplayers package. All tutorials I could found was from really old versions and I could'nt figure out how to…
0
votes
0 answers

AudioPlayer not playing sound from URL in Android [Flutter]

I am playing an audio with audioplayers. Nonetheless, I get this error: V/MediaPlayer(13566): resetDrmState: mDrmInfo=null mDrmProvisioningThread=null mPrepareDrmInProgress=false mActiveDrmScheme=false V/MediaPlayer(13566): cleanDrmObj:…
0
votes
0 answers

I use audioplayers package but i don't hear any thing

class HomePage extends StatelessWidget { const HomePage({super.key}); @override Widget build(BuildContext context) { return Scaffold( body: GestureDetector( onTap: (){ var player = AudioPlayer(); …
0
votes
1 answer

How to listion to Audio Position in Flutter?

I found this code for **listening to Audio Position ** using package audioplayers. But the onAudioPositionChanged features seems to be deprecated now. Does anyone know its replacement or how to listen the audio position using audioplayers in…
user22030129
0
votes
0 answers

Is there a fix for the flutter audioplayers issue in my case?

I am trying to run a project on my machine. Flutter version is 3.7.3 JDK is 11. The projects runs fine on my friends machine but when i run i get this error. ` A problem occurred configuring project ':audioplayers_android'. Could not load compiled…