Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fatal Exception: java.lang.IllegalStateException #1745

Open
2 tasks done
Tangxiaochuanle opened this issue Jan 16, 2024 · 1 comment · May be fixed by #1754
Open
2 tasks done

Fatal Exception: java.lang.IllegalStateException #1745

Tangxiaochuanle opened this issue Jan 16, 2024 · 1 comment · May be fixed by #1754
Labels
bug platform-android Affects the android platform

Comments

@Tangxiaochuanle
Copy link

Checklist

  • I read the troubleshooting guide before raising this issue
  • I made sure that the issue I am raising doesn't already exist

Current bug behaviour

android.media.MediaPlayer.getPlaybackParams (MediaPlayer.java)
xyz.luan.audioplayers.player.MediaPlayerPlayer.setRate (MediaPlayerPlayer.java:24)
xyz.luan.audioplayers.player.MediaPlayerPlayer.start (MediaPlayerPlayer.java:6)
xyz.luan.audioplayers.player.WrappedPlayer.onPrepared (WrappedPlayer.java:17)
xyz.luan.audioplayers.player.MediaPlayerPlayer.createMediaPlayer$lambda$5$lambda$0 (MediaPlayerPlayer.java:5)
android.media.MediaPlayer$EventHandler.handleMessage (MediaPlayer.java:3545)
android.os.Handler.dispatchMessage (Handler.java:106)
android.os.Looper.loopOnce (Looper.java:223)
android.os.Looper.loop (Looper.java:324)
android.app.ActivityThread.main (ActivityThread.java:8650)
java.lang.reflect.Method.invoke (Method.java)
com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:582)
com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1061)

Expected behaviour

null

Steps to reproduce

  1. Execute flutter run on the code sample
  2. ...
  3. ...

Code sample

Code sample
void main() {
}

Affected platforms

Android

Platform details

Android Samsung Galaxy A21s
Android Samsung Galaxy A02s
Android Motorola Moto G(8) Power
Android Vivo V29
System Android 11、Android 13

AudioPlayers Version

5.2.1

Build mode

release

Audio Files/URLs/Sources

No response

Screenshots

No response

Logs

my relevant logs
Full Logs
my full logs or a link to a gist

Flutter doctor:

Output of: flutter doctor -v

Related issues / more information

No response

Working on PR

no way

@alihuseyin
Copy link

Same here, any fix?

@mafanwei mafanwei linked a pull request Feb 1, 2024 that will close this issue
7 tasks
@Gustl22 Gustl22 added the platform-android Affects the android platform label Mar 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug platform-android Affects the android platform
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants