Murilo de Lima
Murilo de Lima
It worked with AndroidStudio, and as I mentioned above also with `bazel mobile-install`. Is building with `bazel build` not recommended? I suggest updating the [MediaPipe in Android instructions](https://google.github.io/mediapipe/getting_started/android.html) accordingly.
I ran the following commands: ``` wget https://github.com/google/mediapipe/archive/refs/tags/v0.8.10.2.zip unzip v0.8.10.2.zip cd mediapipe-0.8.10.2 sed -i '/include\/opencv4/s/#//g' third_party/opencv_linux.BUILD echo 'android_ndk_repository(name="androidndk", api_level=21)' >> WORKSPACE echo 'android_sdk_repository(name="androidsdk")' >> WORKSPACE bazel build -c opt --config=android_arm64...
Does your container have a GPU? Otherwise you need to include the flag `--define MEDIAPIPE_DISABLE_GPU=1` , see [Build and run desktop example](https://google.github.io/magritte/getting_started/demos.html#build-desktop).
The instructions still point to using `blaze build` and `adb install` in the [Framework page](https://developers.google.com/mediapipe/framework/getting_started/android).
Edit the file `DropDown.js` and modify Line 29 to ``` } else { setDisplayValue(''); } ```