flutter_sound icon indicating copy to clipboard operation
flutter_sound copied to clipboard

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

Open gaokai1994 opened this issue 1 year ago • 2 comments

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 avatar Jan 10 '25 09:01 gaokai1994

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.

Larpoux avatar Jan 10 '25 09:01 Larpoux

Thank you. Problem solved

gaokai1994 avatar Jan 11 '25 05:01 gaokai1994