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

RuntimeException #2

Open
kervishalsinh opened this issue Sep 17, 2019 · 0 comments
Open

RuntimeException #2

kervishalsinh opened this issue Sep 17, 2019 · 0 comments

Comments

@kervishalsinh
Copy link

Process: com.example.musicplayer, PID: 9480
E/AndroidRuntime( 9480): java.lang.RuntimeException: Methods marked with @UiThread must be executed on the main thread. Current thread: AudioPlayer
io.flutter.embedding.engine.FlutterJNI.ensureRunningOnMainThread(FlutterJNI.java:796)
io.flutter.embedding.engine.FlutterJNI.dispatchPlatformMessage(FlutterJNI.java:686)
io.flutter.embedding.engine.dart.DartMessenger.send(DartMessenger.java:80)
io.flutter.embedding.engine.dart.DartExecutor.send(DartExecutor.java:187)
at io.flutter.view.FlutterNativeView.send(FlutterNativeView.java:137)
at io.flutter.plugin.common.MethodChannel.invokeMethod(MethodChannel.java:98)
at io.flutter.plugin.common.MethodChannel.invokeMethod(MethodChannel.java:84)
at io.fluttery.flutteryaudio.FlutteryAudioPlugin$1.onPlayerPlaybackUpdate(FlutteryAudioPlugin.java:83)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant