[desktop_drop] flutter run --release error
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 45/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- android, dart, flutter
- Domain
- build-system, mobile
Research direction
Start by reproducing the failure with desktop_drop 0.5.0 using flutter run --release or an Android APK build, then inspect the generated android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java reference to DesktopDropPlugin. Compare the release and debug build behavior; done means the release run and APK compilation succeed on the reported Flutter and Android setup.
Written by the indexing model from the issue text.
Description
Hi, I ran into problems running the release mode when using desktop_drop 0.5.0, and this problem also occurs when building apk with flutter.
The release mode run, compiler error.
The debug mode is running, and the compilation succeeds.
Obfuscation is off minifyEnabled false.
Reproduce Steps
Steps to reproduce the behavior:
- run
flutter run --release - build error
android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java:19: 错误: 找不到符号
flutterEngine.getPlugins().add(new one.mixin.desktop.drop.DesktopDropPlugin());
^
符号: 类 DesktopDropPlugin
位置: 程序包 one.mixin.desktop.drop
1 个错误
FAILURE: Build completed with 2 failures.
1: Task failed with an exception.
Expected behavior
Compile successfully.
Version (please complete the following information):
- Flutter Version: v3.27.4
- OS: build on macOS 15.1.1, run target android.
- plugin: desktop_drop: 0.5.0
❯ flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[!] Flutter (Channel [user-branch], 3.27.4, on macOS 15.1.1 24B91 darwin-x64, locale zh-Hans-CN)
! Flutter version 3.27.4 on channel [user-branch] at /Users/liurichao/development/flutter
Currently on an unknown channel. Run `flutter channel` to switch to an official channel.
If that doesn't fix the issue, reinstall Flutter by following instructions at
https://flutter.dev/setup.
! Upstream repository unknown source is not the same as FLUTTER_GIT_URL
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 16.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2024.1)
[✓] VS Code (version 1.97.2)
[✓] Connected device (5 available)
- Dominant language
- C
- Stars
- 512
- Forks
- 292
- Avg merge
- 1d 4h
- Merged PRs (30d)
- 2
Getting set up
We have not checked this project's setup files yet. Start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from MixinNetwork/flutter-plugins
-
Difficulty 1/5 Under an hour Newbie friendliness 68/100
MixinNetwork/flutter-plugins#413 · 8 reactions ·
-
Difficulty 1/5 Under an hour Newbie friendliness 68/100
MixinNetwork/flutter-plugins#401 · 2 reactions ·
-
Difficulty 4/5 3-5 days Newbie friendliness 30/100
MixinNetwork/flutter-plugins#504 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 76/100
MixinNetwork/flutter-plugins#502 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 76/100
MixinNetwork/flutter-plugins#497 ·
All issues in MixinNetwork/flutter-plugins
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
ARM-software/sysarch-acs#556 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
bug needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
netdata/netdata#24062 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100