I have a problem with audioplayers
in Flutter. The application runs on a Desktop but it doesn’t run on Android and here is the error:
C:flutter.pub-cachehostedpub.dartlang.orgaudioplayers_android-1.1.1androidsrcmainkotlinxyzluanaudioplayersplayerWrappedPlayer.kt:271:21: warning: parameter 'percent' is never used
fun onBuffering(percent: Int) {
^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
FileSystemException: readSync failed, path = 'C:UsersAburasDesktopadhanbuildappoutputsflutter-apkapp-debug.apk' (OS Error: The operation completed successfully.
, errno = 0)
I tried to search on the internet, but I couldn’t find a solution
2
Answers
I tried just_audio package but it didn't work. I tried audioplayers package again but in another application. Then the application launched but I found another issue that the file doesn't work. here is the codes and errors:
Please make clear statement what the problem you have is.
What i found is the line you are showing in the code:
audioplayers WrappedPlayer
It has message
// TODO(luan) expose this as a stream
so it seems like there is work to be done.If you precisely express your problem community will help