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

desktop_drop 0.5 fails to compile on Android #373

Open
tmpfs opened this issue Oct 23, 2024 · 1 comment
Open

desktop_drop 0.5 fails to compile on Android #373

tmpfs opened this issue Oct 23, 2024 · 1 comment

Comments

@tmpfs
Copy link

tmpfs commented Oct 23, 2024

When compiling for an android target I get this error after upgrading to 0.5. The problem does not exist with 0.4.4 so I have downgraded for now.

/Users/muji/git/sos/gui/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java:24: error: cannot find symbol
      flutterEngine.getPlugins().add(new one.mixin.desktop.drop.DesktopDropPlugin());
                                                               ^
  symbol:   class DesktopDropPlugin
  location: package one.mixin.desktop.drop
1 error

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:compileDebugJavaWithJavac'.
> Compilation failed; see the compiler error output for details.

* Try:
> Run with --info option to get more log output.
> Run with --scan to get full insights.

BUILD FAILED in 9s

Expected behavior

I expect it to compile on Android.

Version (please complete the following information):

  • Flutter Version: 3.24.3
  • OS: MacOS compiling for Android physical device (Samsung SM325F)
  • plugin: desktop_drop: 0.5.0
@stan-at-work
Copy link

Any updates on this ?

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

2 participants