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

App crashes when I play multiple sounds #1290

Closed
Sherif-2001 opened this issue Sep 29, 2022 · 1 comment
Closed

App crashes when I play multiple sounds #1290

Sherif-2001 opened this issue Sep 29, 2022 · 1 comment
Labels

Comments

@Sherif-2001
Copy link

Sherif-2001 commented Sep 29, 2022

The app crashes when I play a bgm with sound effects and give me this error

D/AndroidRuntime(10672): Shutting down VM
E/AndroidRuntime(10672): FATAL EXCEPTION: main
E/AndroidRuntime(10672): Process: com.example.dino_game, PID: 10672
E/AndroidRuntime(10672): java.util.ConcurrentModificationException
E/AndroidRuntime(10672): at java.util.LinkedHashMap$LinkedHashIterator.nextNode(LinkedHashMap.java:757)
E/AndroidRuntime(10672): at java.util.LinkedHashMap$LinkedValueIterator.next(LinkedHashMap.java:785)
E/AndroidRuntime(10672): at xyz.luan.audioplayers.AudioplayersPlugin$UpdateRunnable.run(AudioplayersPlugin.kt:212)
E/AndroidRuntime(10672): at android.os.Handler.handleCallback(Handler.java:938)
E/AndroidRuntime(10672): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime(10672): at android.os.Looper.loop(Looper.java:223)
E/AndroidRuntime(10672): at android.app.ActivityThread.main(ActivityThread.java:7656)
E/AndroidRuntime(10672): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime(10672): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
E/AndroidRuntime(10672): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)
I/Process (10672): Sending signal. PID: 10672 SIG: 9
Lost connection to device.

Flame_Audio : 1.3.1

Flutter : 3.3.2

Audioplayers : 1.1.0

@Sherif-2001 Sherif-2001 changed the title App crashes after playing 4 or 5 audios App crashes when I play multiple sounds Sep 30, 2022
@spydon
Copy link
Member

spydon commented Oct 3, 2022

Duplicate of #1274

@spydon spydon marked this as a duplicate of #1274 Oct 3, 2022
@spydon spydon closed this as completed Oct 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants