flutter_systray icon indicating copy to clipboard operation
flutter_systray copied to clipboard

No implementation found for method initSystray

Open gaspromobooking opened this issue 3 years ago • 6 comments

MissingPluginException (No implementation found for method initSystray on channel plugins.flutter.io/flutter_systray)

Any ideas on how to fix that?

Thanks

gaspromobooking avatar Apr 17 '21 09:04 gaspromobooking

I'm having the same issue on macOS (will try windows later). Just copied the example main.dart and runned.

Launching lib/main.dart on macOS in debug mode...
Building macOS application...                                           
[ERROR:flutter/lib/ui/ui_dart_state.cc(186)] Unhandled Exception: MissingPluginException(No implementation found for method initSystray on channel plugins.flutter.io/flutter_systray)
#0      MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:156:7)
<asynchronous suspension>
#1      FlutterSystray.initSystray (package:flutter_systray/flutter_systray.dart:71:20)
<asynchronous suspension>
#2      main (package:desktop/main.dart:25:3)
<asynchronous suspension>

flutter doctor -v

[✓] Flutter (Channel stable, 2.0.6, on macOS 11.2.3 20D91 darwin-x64, locale en-BR)
    • Flutter version 2.0.6 at /Users/marcelo/flutter
    • Framework revision 1d9032c7e1 (4 days ago), 2021-04-29 17:37:58 -0700
    • Engine revision 05e680e202
    • Dart version 2.12.3

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Users/marcelo/Library/Android/sdk
    • Platform android-29, build-tools 30.0.3
    • ANDROID_HOME = /Users/marcelo/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.5, Build version 12E262
    • CocoaPods version 1.10.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] VS Code (version 1.55.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.21.0

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-x64     • macOS 11.2.3 20D91 darwin-x64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 90.0.4430.93

• No issues found!

marcelo-tm avatar May 03 '21 18:05 marcelo-tm

+1

jonasborggren avatar May 31 '21 18:05 jonasborggren

Any Solution for macOS. Trying for macOS shows "No implementation found for method initSystray"

aditihl avatar Jul 12 '21 06:07 aditihl

No idea sorry.

When I worked on this I got it working for my project. I don't really have an idea what is going on ATM since its more than 6 months since I last touched any of this code and all the components have changed since then.

On Mon, Jul 12, 2021 at 8:03 AM aditihl @.***> wrote:

Any Solution for macOS. Trying for macOS shows "No implementation found for method initSystray"

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/JanezStupar/flutter_systray/issues/5#issuecomment-877996174, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAE6CFK5QBMBQWSBQOPCZY3TXKASPANCNFSM43C3Y4SQ .

-- Janez Štupar, www.janezstupar.com

JanezStupar avatar Jul 12 '21 09:07 JanezStupar

@JanezStupar , is there any possibility for the continuation of it's support or can it be assumed to have gone completely abandoned?

Yash-Bhanushali-21 avatar Jul 19 '21 10:07 Yash-Bhanushali-21

@yash11213018 I do not see working on this in the near future. I am still using the project for my purposes where it works just fine. I am going to revisit it whenever I have an itch to scratch.

You are welcome to submit a PR however I will gladly review and accept it if you fix whatever issues.

JanezStupar avatar Jul 19 '21 10:07 JanezStupar