skip to Main Content

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)

the result of that

I tried to search on the internet, but I couldn’t find a solution

2

Answers


  1. Chosen as BEST ANSWER

    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: enter image description here

    enter image description here

    enter image description here

    enter image description here

    enter image description here


  2. 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

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search