3

I try to run the mediapipe with Bazel in Android Studio. However, I have an issue with the bazel processing failed. The error state is 'deriving targets from project directories failed'.

The reference I follow: https://margaretmz.medium.com/hello-mediapipe-on-android-813fc0553d79

link of screenshot about bazel problem met in Android Studio

my version: bazel: 4.0 android studio: 3.5 windows: 10

yan
  • 31
  • 1

1 Answers1

0

In the .bazelproject file under .aswb folder, set derive_targets_from_directories to false.

then specify the target you need using targets:

See here

Jeremy Caney
  • 7,102
  • 69
  • 48
  • 77