misiio / flutter_music_kit Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
======== Exception caught by services library ======================================================
The following MissingPluginException was thrown while activating platform stream on channel plugins.misi.app/music_kit/music_subscription:
MissingPluginException(No implementation found for method listen on channel plugins.misi.app/music_kit/music_subscription)
======== Exception caught by services library ======================================================
The following MissingPluginException was thrown while activating platform stream on channel plugins.misi.app/music_kit/player_state:
MissingPluginException(No implementation found for method listen on channel plugins.misi.app/music_kit/player_state)
======== Exception caught by services library ======================================================
The following MissingPluginException was thrown while activating platform stream on channel plugins.misi.app/music_kit/player_queue:
MissingPluginException(No implementation found for method listen on channel plugins.misi.app/music_kit/player_queue)
Build error:
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring project ':music_kit'.
> Failed to notify project evaluation listener.
> org.jetbrains.kotlin.gradle.plugin.KotlinGradleSubplugin: org.jetbrains.kotlinx.serialization.gradle.SerializationGradleSubplugin not a subtype
[ERROR:flutter/shell/common/shell.cc(1038)] The 'plugins.misi.app/music_kit/music_subscription' channel sent a message from native to Flutter on a non-platform thread. Platform channel messages must be sent on the platform thread. Failure to do so may result in data loss or crashes, and must be fixed in the plugin or application code creating that channel.
See https://docs.flutter.dev/platform-integration/platform-channels#channels-and-platform-threading for more information.
I have successfully integrated in IOS but the same implementation is throwing an error in Android
Here is the error :
PlatformException(requestDeveloperToken, null, java.lang.reflect.InvocationTargetException
I/flutter ( 7106): at java.lang.reflect.Method.invoke(Native Method)
I/flutter ( 7106): at app.misi.music_kit.ChannelHandler.onMethodCall(ChannelHandler.kt:123)
I/flutter ( 7106): at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:258)
I/flutter ( 7106): at io.flutter.embedding.engine.dart.DartMessenger.invokeHandler(DartMessenger.java:295)
I/flutter ( 7106): at io.flutter.embedding.engine.dart.DartMessenger.lambda$dispatchMessageToQueue$0$io-flutter-embedding-engine-dart-DartMessenger(DartMessenger.java:322)
Let me know if there is a way to solve this.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.