You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I got this error when running flutter gallery with flutter-pi:
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] UnhandledException:MissingPlatformDirectoryException(Unable to get application documents directory)
#0GetStorage._init (package:get_storage/src/storage_impl.dart:49)
<asynchronous suspension>
#1newGetStorage._internal.<anonymous closure> (package:get_storage/src/storage_impl.dart:30)
<asynchronous suspension>
#2 main (package:gallery/main.dart:29)
<asynchronous suspension>
just stuck on that output.
Specifications
Development machine:
Flutter SDK version: 3.10.6
Build method: flutterpi_tool
Raspberry Pi:
Hardware: Pi 3 Model B v1.2
OS: 2023-05-03-raspios-bullseye-arm64-lite
Executed Commands
Development machine:
flutter pub get
flutter run # the gallery app runs fine
flutterpi_tool build --arch=arm64 --cpu=pi3 --release
rsync -a --info=progress2 ./build/flutter_assets/ [email protected]:/home/pi/flutter_gallery
Raspberry Pi:
flutter-pi --release ~/flutter_gallery
# or
flutter-pi --release /home/pi/flutter_gallery
I always got the same error, both in debug mode and release mode.
The text was updated successfully, but these errors were encountered:
I got this error when running flutter gallery with flutter-pi:
just stuck on that output.
Specifications
Development machine:
Raspberry Pi:
Executed Commands
Development machine:
Raspberry Pi:
I always got the same error, both in debug mode and release mode.
The text was updated successfully, but these errors were encountered: