Tau: MissingPluginException(No implementation found for method initializeFlautoRecorder on channel com.dooboolab.flutter_sound_recorder)

Created on 4 Apr 2020  ·  6Comments  ·  Source: Canardoux/tau

Version of flutter_sound 3.1.34

Platforms you faced the error

Android

please help me, thanks!

I don't know why I can't find this method, this is log.

I/flutter ( 8046): MissingPluginException(No implementation found for method initializeFlautoRecorder on channel com.dooboolab.flutter_sound_recorder)
I/flutter ( 8046): #0      MethodChannel.invokeMethod 
package:flutter/…/services/platform_channel.dart:319
I/flutter ( 8046): <asynchronous suspension>
I/flutter ( 8046): #1      FlautoRecorderPlugin.invokeMethod 
package:flutter_sound/flutter_sound_recorder.dart:72
I/flutter ( 8046): #2      FlutterSoundRecorder.invokeMethod 
package:flutter_sound/flutter_sound_recorder.dart:137
I/flutter ( 8046): #3      FlutterSoundRecorder.initialize 
package:flutter_sound/flutter_sound_recorder.dart:145
I/flutter ( 8046): #4      _MoodAddPageState._recordVoice 
package:oldtime/ui/mood_add.dart:402
I/flutter ( 8046): #5      _InkResponseState._handleTap 
package:flutter/…/material/ink_well.dart:706
I/flutter ( 8046): #6      _InkResponseState.build.<anonymous closure> 
package:flutter/…/material/ink_well.dart:789
I/flutter ( 8046): #7      GestureRecognizer.invokeCallback 
package:flutter/…/gestures/recognizer.dart:182
I/flutter ( 8046): #8      TapGestureRecognizer.handleTapUp 
package:flutter/…/gestures/tap.dart:486
I/flutter ( 8046): #9      BaseTapGestureRecognizer._checkUp 
package:flutter/…/gestures/tap.dart:264
I/flutter ( 8046): #10     BaseTapGestureRecognizer.acceptGesture (package:fl

Most helpful comment

👍 You are perfectly right. Two lines are missing :

        FlautoRecorderPlugin.attachFlautoRecorder ( ctx, registrar.messenger ()  );
        TrackPlayerPlugin.attachTrackPlayer ( ctx, registrar.messenger ()  );

Until now, we have never tested this function because we always use the new 'Flutter Embedded V2'

I am going to push a patch V3.1.4 this after noon.
Thank you for your contribution. 👍

All 6 comments

You seems to have a bad mix between the beta version/3.0.0 version and 3.1.3

You can try

flutter pub get
flutter clean

If the problem persists send us the result of flutter pub deps

Post also your pubspec.yaml with the result of flutter pub deps

https://github.com/dooboolab/flutter_sound/blob/master/android/src/main/java/com/dooboolab/fluttersound/Flauto.java#L116

Did you forget to register ?

FlautoRecorderPlugin.attachFlautoRecorder ( ctx, registrar.messenger () );

It's ok now, when I add it.

👍 You are perfectly right. Two lines are missing :

        FlautoRecorderPlugin.attachFlautoRecorder ( ctx, registrar.messenger ()  );
        TrackPlayerPlugin.attachTrackPlayer ( ctx, registrar.messenger ()  );

Until now, we have never tested this function because we always use the new 'Flutter Embedded V2'

I am going to push a patch V3.1.4 this after noon.
Thank you for your contribution. 👍

@xia-weiyang

Patch Release 3.1.5 is supposed to fix this bug.
Thank you again

Thanks for your patch.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ggirotto picture ggirotto  ·  3Comments

alby97 picture alby97  ·  5Comments

satyajitghana picture satyajitghana  ·  3Comments

edward-yakop picture edward-yakop  ·  4Comments

gtilson picture gtilson  ·  5Comments