gallery
gallery copied to clipboard
flutter on chrome browser cause error with infinite loading splash image.
How can I run sample app?
at first, I download sample app then I command "flutter run" and it cause that I should upgrade flutter. even I use 3.0.5 so, I upgrade to master channel then it run with success
but it cause new error
Launching lib/main.dart on Chrome in debug mode...
Waiting for connection from debug service on Chrome... 31.1s
ERROR - 2022-08-28 16:53:05.901453
GET /dwds/src/injected/client.js
Error thrown by handler.
FileSystemException: Cannot open file, path = '/Users/pedrojung/Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/dwds-15.0.0/lib/src/injected/client.js' (OS Error: No such file or directory, errno = 2)
package:shelf/shelf_io.dart 115:16 handleRequest

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel master, 3.1.0-0.0.pre.2543, on macOS 13.0
22A5295h darwin-arm, locale ko-KR)
[!] Android toolchain - develop for Android devices (Android SDK
version 30.0.3)
✗ cmdline-tools component is missing
Run `path/to/sdkmanager --install "cmdline-tools;latest"`
See https://developer.android.com/studio/command-line for more
details.
✗ Android license status unknown.
Run `flutter doctor --android-licenses` to accept the SDK
licenses.
See
https://flutter.dev/docs/get-started/install/macos#android-setup
for more details.
[✓] Xcode - develop for iOS and macOS (Xcode 13.4.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.2)
[✓] Android Studio (version 2020.3)
[✓] IntelliJ IDEA Ultimate Edition (version 2022.1.3)
[✓] VS Code (version 1.69.2)
[✓] VS Code (version 1.66.2)
[✓] Connected device (2 available)
[✓] HTTP Host Availability
Can you try flutter clean and deleting the .pub-cache directory? Also, is the gallery at HEAD?