I want to use mediapipe pose detection in Android studio and I am trying to make. Aar file to use it. So on running
build -c opt --config=android_arm64 mediapipe/modules/pose_detection:*,
I am getting Error
ERROR: C:/users/asrock/downloads/mediapipe-master/mediapipe/framework/tool/BUILD:109:10: While resolving toolchains for target //mediapipe/framework/tool:encode_as_c_string: invalid registered toolchain '@local_execution_config_python//:py_toolchain': target does not provide the DeclaredToolchainInfo provider
ERROR: Analysis of target '//mediapipe/modules/pose_detection:pose_detection_cpu.inc' failed; build aborted:
INFO: Elapsed time: 0.441s
INFO: 0 processes.
FAILED: Build did NOT complete
I got some errors previously too but I solved it by asking ChatGPT
I have mediapipe master downloaded from github. I hope you understand the problem
Paste this in WORKSPACE file:
If you have not added workspace file: Add android_ndk_repository() and android_sdk_repository() rules into the WORKSPACE file as the following:
Refer : https://developers.google.com/mediapipe/framework/getting_started/android