Closed gnprice closed 3 months ago
same issue building on master branch
I'm also getting this issue after doing flutter upgrade
Package file_picker:linux references file_picker:linux as the default plugin, but it does not provide an inline implementation.
Ask the maintainers of file_picker to either avoid referencing a default implementation via platforms: linux: default_package: file_picker
or add an inline implementation to file_picker via platforms: linux:
pluginClass
or dartPluginClass
.
Package file_picker:macos references file_picker:macos as the default plugin, but it does not provide an inline implementation.
Ask the maintainers of file_picker to either avoid referencing a default implementation via platforms: macos: default_package: file_picker
or add an inline implementation to file_picker via platforms: macos:
pluginClass
or dartPluginClass
.
Package file_picker:windows references file_picker:windows as the default plugin, but it does not provide an inline implementation.
Ask the maintainers of file_picker to either avoid referencing a default implementation via platforms: windows: default_package: file_picker
or add an inline implementation to file_picker via platforms: windows:
pluginClass
or dartPluginClass
.
Package file_picker:linux references file_picker:linux as the default plugin, but it does not provide an inline implementation.
Ask the maintainers of file_picker to either avoid referencing a default implementation via platforms: linux: default_package: file_picker
or add an inline implementation to file_picker via platforms: linux:
pluginClass
or dartPluginClass
.
Package file_picker:macos references file_picker:macos as the default plugin, but it does not provide an inline implementation.
Ask the maintainers of file_picker to either avoid referencing a default implementation via platforms: macos: default_package: file_picker
or add an inline implementation to file_picker via platforms: macos:
pluginClass
or dartPluginClass
.
Package file_picker:windows references file_picker:windows as the default plugin, but it does not provide an inline implementation.
Ask the maintainers of file_picker to either avoid referencing a default implementation via platforms: windows: default_package: file_picker
or add an inline implementation to file_picker via platforms: windows:
pluginClass
or dartPluginClass
.
Package file_picker:linux references file_picker:linux as the default plugin, but it does not provide an inline implementation.
Ask the maintainers of file_picker to either avoid referencing a default implementation via platforms: linux: default_package: file_picker
or add an inline implementation to file_picker via platforms: linux:
pluginClass
or dartPluginClass
.
Package file_picker:macos references file_picker:macos as the default plugin, but it does not provide an inline implementation.
Ask the maintainers of file_picker to either avoid referencing a default implementation via platforms: macos: default_package: file_picker
or add an inline implementation to file_picker via platforms: macos:
pluginClass
or dartPluginClass
.
Package file_picker:windows references file_picker:windows as the default plugin, but it does not provide an inline implementation.
Ask the maintainers of file_picker to either avoid referencing a default implementation via platforms: windows: default_package: file_picker
or add an inline implementation to file_picker via platforms: windows:
pluginClass
or dartPluginClass
.
Doctor summary (to see all details, run flutter doctor -v): [√] Flutter (Channel master, 3.24.0-1.0.pre.217, on Microsoft Windows [Version 10.0.19045.4651], locale en-US) [√] Windows Version (Installed version of Windows is version 10 or higher) [√] Android toolchain - develop for Android devices (Android SDK version 34.0.0) [√] Chrome - develop for the web [√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.9.3) [√] Android Studio (version 2024.1) [√] VS Code (version 1.89.1) [√] Connected device (4 available) [√] Network resources
Android Studio Koala Feature Drop 2024.1.2
file_picker: ^8.0.6
flutter_local_notifications: ^17.2.1+2
Ran flutter pub upgrade --major-versions - still got the same error, is there another way to solve this?
Yes I am getting the same issue
This issue is stale because it has been open for 7 days with no activity.
Stale-bot please go away; there's no reason to believe the bug has been fixed.
same problem please help
At https://github.com/miguelpruivo/flutter_file_picker/issues/1562#issuecomment-2263666017, @Zelkreps reports similar warning messages, and then:
Error (Xcode): Package file_picker:linux references file_picker:linux as the default plugin, but it does not provide an inline implementation.
My project only uses Android and iOS platform and everything works on Android.
@Zelkreps, does that mean that on iOS for you the build actually fails with these messages? If so, that's a more severe issue than this had been. The symptoms I'm seeing are only that flutter run
and flutter test
and other commands print these warning messages, which get noisy — but the commands all continue to work just fine.
At #1562 (comment), @Zelkreps reports similar warning messages, and then:
Error (Xcode): Package file_picker:linux references file_picker:linux as the default plugin, but it does not provide an inline implementation. My project only uses Android and iOS platform and everything works on Android.
@Zelkreps, does that mean that on iOS for you the build actually fails with these messages? If so, that's a more severe issue than this had been. The symptoms I'm seeing are only that
flutter run
andflutter test
and other commands print these warning messages, which get noisy — but the commands all continue to work just fine.
I already figured it out, and it wasn't anyone's fault but mine. Somehow, mysteriously, flutter on my development Mac was upgraded from the stable version to the development version (you can see it in the flutter doctor dump), but I didn't notice it before, so I apologize. Everything is working and thanks for the quick response! :)
OK, thanks for the followup.
FWIW when things don't work on the master/main channel, that's still a bug that someone will need to fix :slightly_smiling_face:. In general in the Flutter ecosystem, the main channel is expected to work, and many people — including Google in all their own uses of Flutter — use the main channel rather than stable.
In this instance, the warning messages are currently only in main; but the code that's in main now can be expected to be in the next beta and the next stable, so they'll appear there too unless something changes first.
It looks like #1567 was intended to fix this issue, and has been merged (thanks @Sameri11 and @navaronbracke!).
And indeed after an upgrade to package:file_picker
8.0.7, which has that change, I no longer see this issue. So, closing as fixed.
Describe the bug
Building an app using
file_picker
and Flutter from main, with a Flutter version since https://github.com/flutter/flutter/pull/137040 last week, produces these warnings (taken from full output below):In fact just
flutter pub get
is enough to produce these warnings.So here I am doing as the warnings say, by asking you to do as the warnings say :slightly_smiling_face:
There's a bit of a lack of documentation of this new warning. Perhaps you already know what it's saying, but in case it's helpful here's how another plugin fixed a similar warning: https://github.com/MaikuB/flutter_local_notifications/pull/2371 https://github.com/MaikuB/flutter_local_notifications/issues/2368
Platform
Platform OS version n/a (happens at
flutter pub get
time)How are you picking? n/a
Details to reproduce the issue
Run
flutter pub get
after cloning this repo: https://github.com/zulip/zulip-flutter (while using a recent Flutter from the main/master channel, commit d55a5f96c117725c134099b78deb7af431a93902 or later)Or see the logs of this CI run: https://github.com/zulip/zulip-flutter/actions/runs/10000051702/job/27641881195
Error Log
Screenshots and/or video n/a
Flutter Version details
Additional context