Skip to content
This repository has been archived by the owner on Feb 16, 2024. It is now read-only.

Flutter gallery v2.10.2 fails to start on embedded Linux #994

Closed
1 task done
aduskett opened this issue Aug 17, 2023 · 3 comments
Closed
1 task done

Flutter gallery v2.10.2 fails to start on embedded Linux #994

aduskett opened this issue Aug 17, 2023 · 3 comments
Labels
bug Something isn't working triage

Comments

@aduskett
Copy link

aduskett commented Aug 17, 2023

Existing issue?

What happened?

Expected vs actual result:

Expected: The Flutter gallery application should start

Actual results: Unhandled Exception: MissingPluginException(No implementation found for method getApplicataionDocumentsDirectory on channel plugins.flutter.io/path_provider

Steps to reproduce:

git clone https://gitlab.com/aduskett/buildroot-flutter.git -b flutter-gallery-2.10.2 && cd buildroot-flutter && make flutter_x86_64_efi_demo_defconfig && make -Otarget -j$(nproc) && sh ./board/flutter_x86_64/run-qemu

Flutter-gallery should start up automatically but does not.
Revision 6a8d738 works properly and is what the meta-flutter
repository is using.

Relevant log output

No response

@aduskett aduskett added bug Something isn't working triage labels Aug 17, 2023
@aduskett
Copy link
Author

I dug into the problem a bit further. 287b20a is the commit that causes the above error. I am not sure where in that commit is the problem.

@aduskett
Copy link
Author

One more comment: It looks like the get_storage package is the culprit. If I remove await GetStorage.init(); from main.dart, the application starts.

@parlough
Copy link
Member

Thanks for opening the issue and looking into the cause! I'm going to close this issue in favor of #979 which discusses the solution in more detail. Thanks again :)

@parlough parlough closed this as not planned Won't fix, can't repro, duplicate, stale Jan 13, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working triage
Projects
None yet
Development

No branches or pull requests

2 participants