jiuqiant / mediapipe_face_detection_aar_example

MediaPipe face detection gpu demo with MediaPipe's Android archive library
73 stars 25 forks source link

how to remove duplicated Gradle dependencies #12

Open brucechou1983 opened 3 years ago

brucechou1983 commented 3 years ago

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?

cvb941 commented 2 years ago

Try using runtimeOnly instead of implementation in build.gradle for the dependencies.