mediapipe_face_detection_aar_example
mediapipe_face_detection_aar_example copied to clipboard
how to remove duplicated Gradle dependencies
Some external dependencies of MediaPipe are defined here.
Also, they are defined here. It seems to me that the required libraries are included in the AAR.
I tried to remove the dependencies in build.gradle but it complained about missing libraries. Is there anyway to get rid of these dependencies in Gradle?
Try using runtimeOnly instead of implementation in build.gradle for the dependencies.