google / google/flutter-mediapipe

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

Open
#64 3 comments 1 reaction 0 assignees View on GitHub
Dominant language
Dart
Stars
296
Forks
28
PR merge metrics
No merged PRs in 30d

Description

## 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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.