Home > front end >  audioplayers doesn't run on Android
audioplayers doesn't run on Android

Time:11-23

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-cache\hosted\pub.dartlang.org\audioplayers_android-1.1.1\android\src\main\kotlin\xyz\luan\audioplayers\player\WrappedPlayer.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:\Users\Aburas\Desktop\adhan\build\app\outputs\flutter-apk\app-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

CodePudding user response:

Please make clear statement what the problem you have is.

What i found is the line you are showing in the code: enter image description here

enter image description here

enter image description here

enter image description here

enter image description here

  • Related