Skip to content

🐛 Can't get it build and recurring 'native assets' error #64

@escottgoodwin

Description

@escottgoodwin

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions