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

Gallery fails to build #507

Closed
c-val opened this issue May 22, 2021 · 3 comments
Closed

Gallery fails to build #507

c-val opened this issue May 22, 2021 · 3 comments
Labels
bug Something isn't working

Comments

@c-val
Copy link

c-val commented May 22, 2021

Describe the bug
I ran the commands specified on GitHub to build on master. Below error happens and the build fails.

To switch channel run:

flutter channel master
flutter upgrade

(DONE)

Flutter doctor
Copy and paste the output of flutter doctor -v here

flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel master, 2.3.0-13.0.pre.111, on macOS 11.3.1 20E241 darwin-x64, locale fr-FR)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
[✓] Xcode - develop for iOS and macOS
[✓] Chrome - develop for the web
[✓] Android Studio (version 4.2)
[✓] IntelliJ IDEA Community Edition (version 2017.3.5)
[✓] VS Code (version 1.56.2)
[✓] Connected device (2 available)

• No issues found!

To Reproduce
Steps to reproduce the behavior:
flutter channel master
flutter upgrade
cd gallery/
flutter config --enable-macos-desktop
flutter create .
flutter run -d macos

Expected behavior
launch of the app

Screenshots
If applicable, add screenshots to help explain your problem.
Capture d’écran 2021-05-22 à 23 05 35

Desktop (please complete the following information):

  • OS: OSX
  • Browser chrome, firefox, safari

Smartphone (please complete the following information):

  • Device: Fairphone 3+ Android

Additional context
Add any other context about the problem here.

@c-val c-val added the bug Something isn't working label May 22, 2021
@guidezpl
Copy link
Member

I believe the generation of localizations happens during flutter pub get, so try running flutter pub get after flutter create . and before flutter run...

@c-val
Copy link
Author

c-val commented May 25, 2021

It WORKED !
Thank you !!!
I am surprised, the terminal displays a "flutter pub get" command when I run "flutter create ."

@guidezpl
Copy link
Member

Great, there might be some ordering issue. Anyway, I've updated the instructions and I'll close this

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants