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,The firebase crash was reported on Android 14 and Android 10,I have not repeated this problem myself,but this issue did not occur on 4.1.0 #1734

Closed
2 tasks done
Tangxiaochuanle opened this issue Dec 21, 2023 · 1 comment
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:2)
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:3410)
android.os.Handler.dispatchMessage (Handler.java:107)
android.os.Looper.loop (Looper.java:226)
android.app.ActivityThread.main (ActivityThread.java:7592)
java.lang.reflect.Method.invoke (Method.java)
com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:539)
com.android.internal.os.ZygoteInit.main (ZygoteInit.java:950)

project version:
targetSdkVersion 34
audioplayers: ^5.2.0
flutter sdk version:3.13.9

Expected behaviour

The firebase crash was reported on Android 14 and Android 10

Steps to reproduce

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

Code sample

Code sample
void main() {
}

Affected platforms

Android

Platform details

No response

AudioPlayers Version

5.2.0

Build mode

No response

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

@Gustl22
Copy link
Collaborator

Gustl22 commented Mar 15, 2024

It's hard to reproduce without steps. Anyways we're planing to switch to Exoplayer. If you come up with a fix, feel free to open a PR. Thanks for your patience.

@Gustl22 Gustl22 closed this as completed Mar 15, 2024
@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

No branches or pull requests

2 participants