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

[HELP]: Android has a error flutter_sound: ^9.6.0 #1147

Open
gaokai1994 opened this issue Jan 10, 2025 · 2 comments
Open

[HELP]: Android has a error flutter_sound: ^9.6.0 #1147

gaokai1994 opened this issue Jan 10, 2025 · 2 comments
Labels
help wanted Extra attention is needed Not yet handled

Comments

@gaokai1994
Copy link

I/flutter ( 5348): Error initializing recorder: 'package:flutter_sound/public/flutter_sound_recorder.dart': Failed assertion: line 389 pos 12: '_openRecorderCompleter == null': is not true.

@gaokai1994 gaokai1994 added help wanted Extra attention is needed Not yet handled labels Jan 10, 2025
@Larpoux
Copy link
Collaborator

Larpoux commented Jan 10, 2025

You have an issue with your calls to await openRecorder().
You should check that you call this function one time before any other flutter_sound API or after a closeRecorder().
Check also that you await correctly before anything else, and that you do not call this function two times in a row.

@gaokai1994
Copy link
Author

Thank you. Problem solved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed Not yet handled
Projects
None yet
Development

No branches or pull requests

2 participants