Open escottgoodwin opened 3 weeks ago
flutter config --list All Settings: enable-web: (Not set) enable-linux-desktop: (Not set) enable-macos-desktop: (Not set) enable-windows-desktop: (Not set) enable-android: (Not set) enable-ios: (Not set) enable-fuchsia: (Not set) (Unavailable) enable-custom-devices: (Not set) cli-animations: (Not set) enable-native-assets: true (Unavailable) enable-flutter-preview: (Not set) (Unavailable)
Switch to the master channel and the native-asserts experiment should become available.
Any other way to solve if I use stable channel? For the production, using master channel could be kind of risky.....
Bug report
Describe the bug I keep getting the 'native assets required' error and the app never builds.
I am using an M2 mac.
Steps to reproduce
Steps to reproduce the behavior:
I have enabled native assets with 'flutter config --enable-native-assets' several times, restarted editor and continue to get native assets required error when running 'flutter run --dart-define=GEMMA_8B_GPU_URI=...' (using a gemma model hosted with gcloud storage). I have it configured to run on my mac and my real iphone.
In VScode, when run the app with the 'play' button, it starts, I don't get a error, but it never finishes building. It stays launching. There is output in in the debug console on VScode.
Expected behavior
App runs
Sample project
Running the example app from the repo.