Closed hotuemon closed 3 years ago
sheesh thats long
Hi @hotuemon, Could you please try the workarounds added in this issue https://github.com/google/mediapipe/issues/1244
I changed it like this.
android_ndk_repository( name = "androidndk", path = "/home/qwerty/Android/Sdk/ndk/22.1.7171670" )
android_sdk_repository( name = "androidsdk", path = "/home/qwerty/Android/sdk" )
However, such an error has occurred.
Syncing project: Sync (incremental)... Updating VCS... Running Bazel info... Command: /home/qwerty/go/bin/bazelisk info --tool_tag=ijwb:AndroidStudio --curses=no --color=yes --progress_in_terminal_title=no --host_crosstool_top=@bazel_tools//tools/cpp:toolchain --
Command: git diff --name-status --no-renames b544a314b3c4818a4d6c56964b020c5be945377a
DEBUG: Rule 'rules_foreign_cc' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "c2cdcf55ffaf49366725639e45dedd449b8c3fe22b54e31625eb80ce3a240f1e"
DEBUG: Repository rules_foreign_cc instantiated at:
/home/qwerty/mediapipe/WORKSPACE:42:13: in
Querying targets building source files... Command: /home/qwerty/go/bin/bazelisk query --tool_tag=ijwb:AndroidStudio --output=label_kind --keep_going same_pkg_direct_rdeps(//mediapipe/modules/hand_landmark:hand_landmark_tracking_gpu_image.pbtxt+//:WORKSPACE) --
Sync targets from working set: //mediapipe/java/com/google/mediapipe/solutionbase:all
Sync targets from project view targets: //mediapipe/examples/android/...:all //mediapipe/java/...:all
Building Bazel targets... Command: /home/qwerty/go/bin/bazelisk build --tool_tag=ijwb:AndroidStudio --keep_going --build_event_binary_file=/tmp/intellij-bep-c07801f3-1e3b-4308-8f5d-312fc374dc58 --nobuild_event_binary_file_path_conversion --curses=no --color=yes --progress_in_terminal_title=no --host_crosstool_top=@bazel_tools//tools/cpp:toolchain --noexperimental_run_validations --aspects=@intellij_aspect//:intellij_info_bundled.bzl%intellij_info_aspect --override_repository=intellij_aspect=/home/qwerty/.local/share/Google/AndroidStudio4.2/aswb/aspect --output_groups=intellij-info-android,intellij-info-generic,intellij-info-java,intellij-render-resolve-android,intellij-resolve-android,intellij-resolve-java -- //mediapipe/java/com/google/mediapipe/solutionbase:all //mediapipe/examples/android/...:all //mediapipe/java/...:all
Loading:
Loading: 0 packages loaded
DEBUG: /home/qwerty/.cache/bazel/_bazel_qwerty/a12d07e16a57f8d88ea378494a9d1b0e/external/org_tensorflow/third_party/repo.bzl:108:14:
Warning: skipping import of repository 'com_google_absl' because it already exists.
DEBUG: /home/qwerty/.cache/bazel/_bazel_qwerty/a12d07e16a57f8d88ea378494a9d1b0e/external/org_tensorflow/third_party/repo.bzl:108:14:
Warning: skipping import of repository 'com_google_protobuf' because it already exists.
DEBUG: /home/qwerty/.cache/bazel/_bazel_qwerty/a12d07e16a57f8d88ea378494a9d1b0e/external/org_tensorflow/third_party/repo.bzl:108:14:
Warning: skipping import of repository 'com_google_googletest' because it already exists.
DEBUG: /home/qwerty/.cache/bazel/_bazel_qwerty/a12d07e16a57f8d88ea378494a9d1b0e/external/org_tensorflow/third_party/repo.bzl:108:14:
Warning: skipping import of repository 'com_github_gflags_gflags' because it already exists.
DEBUG: /home/qwerty/.cache/bazel/_bazel_qwerty/a12d07e16a57f8d88ea378494a9d1b0e/external/org_tensorflow/third_party/repo.bzl:108:14:
Warning: skipping import of repository 'build_bazel_rules_apple' because it already exists.
DEBUG: /home/qwerty/.cache/bazel/_bazel_qwerty/a12d07e16a57f8d88ea378494a9d1b0e/external/org_tensorflow/third_party/repo.bzl:108:14:
Warning: skipping import of repository 'build_bazel_rules_swift' because it already exists.
DEBUG: /home/qwerty/.cache/bazel/_bazel_qwerty/a12d07e16a57f8d88ea378494a9d1b0e/external/org_tensorflow/third_party/repo.bzl:108:14:
Warning: skipping import of repository 'build_bazel_apple_support' because it already exists.
DEBUG: /home/qwerty/.cache/bazel/_bazel_qwerty/a12d07e16a57f8d88ea378494a9d1b0e/external/org_tensorflow/third_party/repo.bzl:108:14:
Warning: skipping import of repository 'bazel_skylib' because it already exists.
DEBUG: /home/qwerty/.cache/bazel/_bazel_qwerty/a12d07e16a57f8d88ea378494a9d1b0e/external/org_tensorflow/third_party/repo.bzl:108:14:
Warning: skipping import of repository 'pybind11' because it already exists.
DEBUG: /home/qwerty/.cache/bazel/_bazel_qwerty/a12d07e16a57f8d88ea378494a9d1b0e/external/tf_runtime/third_party/cuda/dependencies.bzl:51:10: The following command will download NVIDIA proprietary software. By using the software you agree to comply with the terms of the license agreement that accompanies the software. If you do not agree to the terms of the license agreement, do not use the software.
Analyzing: 86 targets (31 packages loaded)
Analyzing: 86 targets (31 packages loaded, 0 targets configured)
INFO: Repository rules_cc instantiated at:
/home/qwerty/mediapipe/WORKSPACE:36:13: in
Timing summary: BlazeInvocation: 5.0s, Prefetching: 0ms, Other: 312ms
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you.
Closing as stale. Please reopen if you'd like to work on this further.
Hi @hotuemon, Duplicate of this https://github.com/google/mediapipe/issues/2232#issuecomment-876045267 You need to fetch the latest code. From the logs it throws 404 error for you.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you.
Using MediaPipe in Android Studio with Bazel is deprecated. Please see the new gradle approach in https://github.com/google/mediapipe/blob/master/docs/getting_started/android_solutions.md.
https://google.github.io/mediapipe/getting_started/android.html I saw this site and tried to build mediapipe in android studio, but in step 8 I got the following error.
Syncing project: Initial directory update (no_build)... Updating VCS... Command: /home/qwerty/go/bin/bazelisk info --tool_tag=ijwb:AndroidStudio --curses=no --color=yes --progress_in_terminal_title=no --host_crosstool_top=@bazel_tools//tools/cpp:toolchain --
Running Bazel info... Command: git diff --name-status --no-renames b544a314b3c4818a4d6c56964b020c5be945377a
Starting local Bazel server and connecting to it... DEBUG: /home/qwerty/.cache/bazel/_bazel_qwerty/a12d07e16a57f8d88ea378494a9d1b0e/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'com_google_absl' because it already exists. DEBUG: /home/qwerty/.cache/bazel/_bazel_qwerty/a12d07e16a57f8d88ea378494a9d1b0e/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'com_google_protobuf' because it already exists. DEBUG: /home/qwerty/.cache/bazel/_bazel_qwerty/a12d07e16a57f8d88ea378494a9d1b0e/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'com_google_googletest' because it already exists. DEBUG: /home/qwerty/.cache/bazel/_bazel_qwerty/a12d07e16a57f8d88ea378494a9d1b0e/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'com_github_gflags_gflags' because it already exists. DEBUG: /home/qwerty/.cache/bazel/_bazel_qwerty/a12d07e16a57f8d88ea378494a9d1b0e/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'build_bazel_rules_apple' because it already exists. DEBUG: /home/qwerty/.cache/bazel/_bazel_qwerty/a12d07e16a57f8d88ea378494a9d1b0e/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'build_bazel_rules_swift' because it already exists. DEBUG: /home/qwerty/.cache/bazel/_bazel_qwerty/a12d07e16a57f8d88ea378494a9d1b0e/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'build_bazel_apple_support' because it already exists. DEBUG: /home/qwerty/.cache/bazel/_bazel_qwerty/a12d07e16a57f8d88ea378494a9d1b0e/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'bazel_skylib' because it already exists. DEBUG: /home/qwerty/.cache/bazel/_bazel_qwerty/a12d07e16a57f8d88ea378494a9d1b0e/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'pybind11' because it already exists. DEBUG: /home/qwerty/.cache/bazel/_bazel_qwerty/a12d07e16a57f8d88ea378494a9d1b0e/external/tf_runtime/third_party/cuda/dependencies.bzl:51:10: The following command will download NVIDIA proprietary software. By using the software you agree to comply with the terms of the license agreement that accompanies the software. If you do not agree to the terms of the license agreement, do not use the software. Computing VCS working set... .aswb/.bazelproject (added) .aswb/.idea/.name (added) .aswb/.idea/misc.xml (added) .aswb/.idea/runConfigurations.xml (added) .aswb/.idea/workspace.xml (added)
Building Bazel targets... build invocation result: success Parsing build outputs... Total rules: 0, new/changed: 0, removed: 0 Reading IDE info result... Reading IDE info result... Updating target map Loaded 0 aspect files, total size 0kB Target map size: 0 Prefetching output artifacts... Command: /home/qwerty/go/bin/bazelisk info --tool_tag=ijwb:AndroidStudio build-language --curses=no --color=yes --progress_in_terminal_title=no --host_crosstool_top=@bazel_tools//tools/cpp:toolchain --
Reading jdeps files... Loaded 0 jdeps files, total size 0kB Reading package manifests... Java content entry count: 1 Filtering empty jars... Fetching JARs to track empty status.. Filtered 0 JARs, in 8ms Updating Unpacked AAR libraries... Fetching aar files... Updating Render JAR Cache... Fetching Render JARs... Total Render JAR Cache Size: 0 kB (0 files) Updating Jar Cache... Prefetching files... Refreshing files Computing directory structure... Initializing project SDKs... Committing project structure... Workspace has 0 libraries Workspace has 2 modules Sync finished
Timing summary: BlazeInvocation: 345ms, Prefetching: 6ms, Other: 1.4s Syncing project: Sync (incremental)... Updating VCS... Running Bazel info... Command: /home/qwerty/go/bin/bazelisk info --tool_tag=ijwb:AndroidStudio --curses=no --color=yes --progress_in_terminal_title=no --host_crosstool_top=@bazel_tools//tools/cpp:toolchain --
Command: git diff --name-status --no-renames b544a314b3c4818a4d6c56964b020c5be945377a
DEBUG: /home/qwerty/.cache/bazel/_bazel_qwerty/a12d07e16a57f8d88ea378494a9d1b0e/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'com_google_absl' because it already exists. DEBUG: /home/qwerty/.cache/bazel/_bazel_qwerty/a12d07e16a57f8d88ea378494a9d1b0e/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'com_google_protobuf' because it already exists. DEBUG: /home/qwerty/.cache/bazel/_bazel_qwerty/a12d07e16a57f8d88ea378494a9d1b0e/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'com_google_googletest' because it already exists. DEBUG: /home/qwerty/.cache/bazel/_bazel_qwerty/a12d07e16a57f8d88ea378494a9d1b0e/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'com_github_gflags_gflags' because it already exists. DEBUG: /home/qwerty/.cache/bazel/_bazel_qwerty/a12d07e16a57f8d88ea378494a9d1b0e/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'build_bazel_rules_apple' because it already exists. DEBUG: /home/qwerty/.cache/bazel/_bazel_qwerty/a12d07e16a57f8d88ea378494a9d1b0e/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'build_bazel_rules_swift' because it already exists. DEBUG: /home/qwerty/.cache/bazel/_bazel_qwerty/a12d07e16a57f8d88ea378494a9d1b0e/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'build_bazel_apple_support' because it already exists. DEBUG: /home/qwerty/.cache/bazel/_bazel_qwerty/a12d07e16a57f8d88ea378494a9d1b0e/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'bazel_skylib' because it already exists. DEBUG: /home/qwerty/.cache/bazel/_bazel_qwerty/a12d07e16a57f8d88ea378494a9d1b0e/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'pybind11' because it already exists. DEBUG: /home/qwerty/.cache/bazel/_bazel_qwerty/a12d07e16a57f8d88ea378494a9d1b0e/external/tf_runtime/third_party/cuda/dependencies.bzl:51:10: The following command will download NVIDIA proprietary software. By using the software you agree to comply with the terms of the license agreement that accompanies the software. If you do not agree to the terms of the license agreement, do not use the software. Computing VCS working set... .aswb/.bazelproject (added) .aswb/.idea/.gitignore (added) .aswb/.idea/.name (added) .aswb/.idea/misc.xml (added) .aswb/.idea/runConfigurations.xml (added)
Querying targets building source files... Sync targets from project view targets: //mediapipe/examples/android/...:all //mediapipe/java/...:all
Building Bazel targets... Command: /home/qwerty/go/bin/bazelisk build --tool_tag=ijwb:AndroidStudio --keep_going --build_event_binary_file=/tmp/intellij-bep-a7bd6bfb-ce65-4a54-98ff-8902862dbfa1 --nobuild_event_binary_file_path_conversion --curses=no --color=yes --progress_in_terminal_title=no --host_crosstool_top=@bazel_tools//tools/cpp:toolchain --noexperimental_run_validations --aspects=@intellij_aspect//:intellij_info_bundled.bzl%intellij_info_aspect --override_repository=intellij_aspect=/home/qwerty/.local/share/Google/AndroidStudio4.2/aswb/aspect --output_groups=intellij-info-android,intellij-info-generic,intellij-info-java,intellij-render-resolve-android,intellij-resolve-android,intellij-resolve-java -- //mediapipe/examples/android/...:all //mediapipe/java/...:all
Loading: Loading: 0 packages loaded DEBUG: /home/qwerty/.cache/bazel/_bazel_qwerty/a12d07e16a57f8d88ea378494a9d1b0e/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'com_google_absl' because it already exists. DEBUG: /home/qwerty/.cache/bazel/_bazel_qwerty/a12d07e16a57f8d88ea378494a9d1b0e/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'com_google_protobuf' because it already exists. DEBUG: /home/qwerty/.cache/bazel/_bazel_qwerty/a12d07e16a57f8d88ea378494a9d1b0e/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'com_google_googletest' because it already exists. DEBUG: /home/qwerty/.cache/bazel/_bazel_qwerty/a12d07e16a57f8d88ea378494a9d1b0e/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'com_github_gflags_gflags' because it already exists. DEBUG: /home/qwerty/.cache/bazel/_bazel_qwerty/a12d07e16a57f8d88ea378494a9d1b0e/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'build_bazel_rules_apple' because it already exists. DEBUG: /home/qwerty/.cache/bazel/_bazel_qwerty/a12d07e16a57f8d88ea378494a9d1b0e/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'build_bazel_rules_swift' because it already exists. DEBUG: /home/qwerty/.cache/bazel/_bazel_qwerty/a12d07e16a57f8d88ea378494a9d1b0e/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'build_bazel_apple_support' because it already exists. DEBUG: /home/qwerty/.cache/bazel/_bazel_qwerty/a12d07e16a57f8d88ea378494a9d1b0e/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'bazel_skylib' because it already exists. DEBUG: /home/qwerty/.cache/bazel/_bazel_qwerty/a12d07e16a57f8d88ea378494a9d1b0e/external/org_tensorflow/third_party/repo.bzl:108:14: Warning: skipping import of repository 'pybind11' because it already exists. DEBUG: /home/qwerty/.cache/bazel/_bazel_qwerty/a12d07e16a57f8d88ea378494a9d1b0e/external/tf_runtime/third_party/cuda/dependencies.bzl:51:10: The following command will download NVIDIA proprietary software. By using the software you agree to comply with the terms of the license agreement that accompanies the software. If you do not agree to the terms of the license agreement, do not use the software. Analyzing: 86 targets (31 packages loaded) Analyzing: 86 targets (31 packages loaded, 0 targets configured) Analyzing: 86 targets (49 packages loaded, 77 targets configured) Analyzing: 86 targets (65 packages loaded, 137 targets configured) Analyzing: 86 targets (75 packages loaded, 144 targets configured) ERROR: While resolving toolchains for target //mediapipe/java/com/google/mediapipe/framework:mediapipe_exception_android: no matching toolchains found for types @bazel_tools//tools/android:sdk_toolchain_type ERROR: While resolving toolchains for target //mediapipe/java/com/google/mediapipe/framework:framework_proto_lite: no matching toolchains found for types @bazel_tools//tools/android:sdk_toolchain_type ERROR: While resolving toolchains for target //mediapipe/java/com/google/mediapipe/framework:android_framework_no_proguard: no matching toolchains found for types @bazel_tools//tools/android:sdk_toolchain_type ERROR: While resolving toolchains for target //mediapipe/java/com/google/mediapipe/framework:android_framework_no_mff: no matching toolchains found for types @bazel_tools//tools/android:sdk_toolchain_type ERROR: While resolving toolchains for target //mediapipe/java/com/google/mediapipe/framework:android_framework: no matching toolchains found for types @bazel_tools//tools/android:sdk_toolchain_type ERROR: While resolving toolchains for target //mediapipe/java/com/google/mediapipe/framework:android_core: no matching toolchains found for types @bazel_tools//tools/android:sdk_toolchain_type ERROR: While resolving toolchains for target //mediapipe/java/com/google/mediapipe/solutionbase:solution_base: no matching toolchains found for types @bazel_tools//tools/android:sdk_toolchain_type ERROR: While resolving toolchains for target //mediapipe/java/com/google/mediapipe/solutionbase:camera_input: no matching toolchains found for types @bazel_tools//tools/android:sdk_toolchain_type ERROR: While resolving toolchains for target //mediapipe/java/com/google/mediapipe/glutil:glutil: no matching toolchains found for types @bazel_tools//tools/android:sdk_toolchain_type ERROR: While resolving toolchains for target //mediapipe/java/com/google/mediapipe/components:android_microphone_helper: no matching toolchains found for types @bazel_tools//tools/android:sdk_toolchain_type ERROR: While resolving toolchains for target //mediapipe/java/com/google/mediapipe/components:android_components: no matching toolchains found for types @bazel_tools//tools/android:sdk_toolchain_type ERROR: While resolving toolchains for target //mediapipe/java/com/google/mediapipe/components:android_camerax_helper: no matching toolchains found for types @bazel_tools//tools/android:sdk_toolchain_type ERROR: While resolving toolchains for target //mediapipe/examples/android/src/java/com/google/mediapipe/apps/faceeffect:faceeffect: no matching toolchains found for types @bazel_tools//tools/android:sdk_toolchain_type ERROR: While resolving toolchains for target //mediapipe/examples/android/src/java/com/google/mediapipe/apps/facedetectioncpu:facedetectioncpu: no matching toolchains found for types @bazel_tools//tools/android:sdk_toolchain_type ERROR: While resolving toolchains for target //mediapipe/examples/android/src/java/com/google/mediapipe/apps/objectdetectioncpu:objectdetectioncpu: no matching toolchains found for types @bazel_tools//tools/android:sdk_toolchain_type ERROR: While resolving toolchains for target //mediapipe/examples/android/src/java/com/google/mediapipe/apps/objecttrackinggpu:objecttrackinggpu: no matching toolchains found for types @bazel_tools//tools/android:sdk_toolchain_type ERROR: While resolving toolchains for target //mediapipe/examples/android/src/java/com/google/mediapipe/apps/posetrackinggpu:posetrackinggpu: no matching toolchains found for types @bazel_tools//tools/android:sdk_toolchain_type ERROR: While resolving toolchains for target //mediapipe/examples/android/src/java/com/google/mediapipe/apps/instantmotiontracking:instantmotiontracking_lib: no matching toolchains found for types @bazel_tools//tools/android:sdk_toolchain_type ERROR: While resolving toolchains for target //mediapipe/examples/android/src/java/com/google/mediapipe/apps/instantmotiontracking:instantmotiontracking: no matching toolchains found for types @bazel_tools//tools/android:sdk_toolchain_type ERROR: While resolving toolchains for target //mediapipe/examples/android/src/java/com/google/mediapipe/apps/selfiesegmentationgpu:selfiesegmentationgpu: no matching toolchains found for types @bazel_tools//tools/android:sdk_toolchain_type ERROR: While resolving toolchains for target //mediapipe/examples/android/src/java/com/google/mediapipe/apps/basic:helloworld: no matching toolchains found for types @bazel_tools//tools/android:sdk_toolchain_type ERROR: While resolving toolchains for target //mediapipe/examples/android/src/java/com/google/mediapipe/apps/basic:basic_lib: no matching toolchains found for types @bazel_tools//tools/android:sdk_toolchain_type ERROR: While resolving toolchains for target //mediapipe/examples/android/src/java/com/google/mediapipe/apps/handtrackinggpu:handtrackinggpu: no matching toolchains found for types @bazel_tools//tools/android:sdk_toolchain_type ERROR: While resolving toolchains for target //mediapipe/examples/android/src/java/com/google/mediapipe/apps/objectdetection3d:objectdetection3d: no matching toolchains found for types @bazel_tools//tools/android:sdk_toolchain_type ERROR: While resolving toolchains for target //mediapipe/examples/android/src/java/com/google/mediapipe/apps/objectdetection3d:manifest_lib: no matching toolchains found for types @bazel_tools//tools/android:sdk_toolchain_type ERROR: While resolving toolchains for target //mediapipe/examples/android/src/java/com/google/mediapipe/apps/facemeshgpu:facemeshgpu: no matching toolchains found for types @bazel_tools//tools/android:sdk_toolchain_type ERROR: While resolving toolchains for target //mediapipe/examples/android/src/java/com/google/mediapipe/apps/objectdetectiongpu:objectdetectiongpu: no matching toolchains found for types @bazel_tools//tools/android:sdk_toolchain_type ERROR: While resolving toolchains for target //mediapipe/examples/android/src/java/com/google/mediapipe/apps/hairsegmentationgpu:hairsegmentationgpu: no matching toolchains found for types @bazel_tools//tools/android:sdk_toolchain_type ERROR: While resolving toolchains for target //mediapipe/examples/android/src/java/com/google/mediapipe/apps/holistictrackinggpu:holistictrackinggpu: no matching toolchains found for types @bazel_tools//tools/android:sdk_toolchain_type ERROR: While resolving toolchains for target //mediapipe/examples/android/src/java/com/google/mediapipe/apps/facedetectiongpu:facedetectiongpu: no matching toolchains found for types @bazel_tools//tools/android:sdk_toolchain_type ERROR: While resolving toolchains for target //mediapipe/examples/android/src/java/com/google/mediapipe/apps/handdetectiongpu:handdetectiongpu: no matching toolchains found for types @bazel_tools//tools/android:sdk_toolchain_type ERROR: While resolving toolchains for target //mediapipe/examples/android/src/java/com/google/mediapipe/apps/iristrackinggpu:iristrackinggpu: no matching toolchains found for types @bazel_tools//tools/android:sdk_toolchain_type ERROR: While resolving toolchains for target //mediapipe/examples/android/src/java/com/google/mediapipe/apps/templatematchingcpu:templatematchingcpu: no matching toolchains found for types @bazel_tools//tools/android:sdk_toolchain_type Analyzing: 86 targets (78 packages loaded, 185 targets configured) Analyzing: 86 targets (87 packages loaded, 304 targets configured) Analyzing: 86 targets (95 packages loaded, 507 targets configured) Analyzing: 86 targets (116 packages loaded, 1490 targets configured) Analyzing: 86 targets (129 packages loaded, 1705 targets configured) Analyzing: 86 targets (137 packages loaded, 1906 targets configured) Analyzing: 86 targets (153 packages loaded, 4116 targets configured) Analyzing: 86 targets (191 packages loaded, 4854 targets configured) Analyzing: 86 targets (191 packages loaded, 4985 targets configured) Analyzing: 86 targets (208 packages loaded, 5743 targets configured) Analyzing: 86 targets (209 packages loaded, 7090 targets configured) ERROR: /home/qwerty/.cache/bazel/_bazel_qwerty/a12d07e16a57f8d88ea378494a9d1b0e/external/local_jdk/BUILD.bazel:3:10: in fail_rule rule @local_jdk//:jdk: Traceback (most recent call last): File "/home/qwerty/.cache/bazel/_bazel_qwerty/a12d07e16a57f8d88ea378494a9d1b0e/external/bazel_tools/tools/jdk/fail_rule.bzl", line 19, column 13, in _fail_rule_impl fail("%s %s" % (ctx.attr.header, ctx.attr.message)) Error in fail: Auto-Configuration Error: Cannot find Java binary bin/java in /home/qwerty/.cache/bazel/_bazel_qwerty/install/46850c2a96e4b4b07623822a03209f74/embedded_tools/tools/jdk/nosystemjdk; either correct your JAVA_HOME, PATH or specify embedded Java (e.g. --javabase=@bazel_tools//tools/jdk:remote_jdk11) Analyzing: 86 targets (210 packages loaded, 8108 targets configured) ERROR: /home/qwerty/mediapipe/mediapipe/java/com/google/mediapipe/solutionbase/BUILD:50:10: no such target '//mediapipe/modules/hand_landmark:hand_landmark_tracking_gpu_image': target 'hand_landmark_tracking_gpu_image' not declared in package 'mediapipe/modules/hand_landmark' (did you mean 'hand_landmark_tracking_gpu_graph'?) defined by /home/qwerty/mediapipe/mediapipe/modules/hand_landmark/BUILD and referenced by '//mediapipe/java/com/google/mediapipe/solutionbase:libmediapipe_jni.so' Analyzing: 86 targets (210 packages loaded, 8917 targets configured) WARNING: errors encountered while analyzing target '//mediapipe/examples/android/src/java/com/google/mediapipe/apps/objectdetection3d:manifest_lib': it will not be built WARNING: errors encountered while analyzing target '//mediapipe/examples/android/src/java/com/google/mediapipe/apps/facemeshgpu:facemeshgpu': it will not be built WARNING: errors encountered while analyzing target '//mediapipe/java/com/google/mediapipe/solutionbase:mediapipe_jni_lib': it will not be built WARNING: errors encountered while analyzing target '//mediapipe/java/com/google/mediapipe/components:android_camerax_helper': it will not be built WARNING: errors encountered while analyzing target '//mediapipe/examples/android/src/java/com/google/mediapipe/apps/facedetectiongpu:facedetectiongpu': it will not be built WARNING: errors encountered while analyzing target '//mediapipe/examples/android/src/java/com/google/mediapipe/apps/basic:basic_lib': it will not be built WARNING: errors encountered while analyzing target '//mediapipe/java/com/google/mediapipe/solutionbase:solution_base': it will not be built WARNING: errors encountered while analyzing target '//mediapipe/examples/android/src/java/com/google/mediapipe/apps/selfiesegmentationgpu:selfiesegmentationgpu': it will not be built WARNING: errors encountered while analyzing target '//mediapipe/examples/android/src/java/com/google/mediapipe/apps/holistictrackinggpu:holistictrackinggpu': it will not be built WARNING: errors encountered while analyzing target '//mediapipe/examples/android/src/java/com/google/mediapipe/apps/hairsegmentationgpu:hairsegmentationgpu': it will not be built WARNING: errors encountered while analyzing target '//mediapipe/java/com/google/mediapipe/framework:android_framework_no_proguard': it will not be built WARNING: errors encountered while analyzing target '//mediapipe/examples/android/src/java/com/google/mediapipe/apps/objectdetectioncpu:objectdetectioncpu': it will not be built WARNING: errors encountered while analyzing target '//mediapipe/examples/android/src/java/com/google/mediapipe/apps/objecttrackinggpu:objecttrackinggpu': it will not be built WARNING: errors encountered while analyzing target '//mediapipe/examples/android/src/java/com/google/mediapipe/apps/instantmotiontracking:instantmotiontracking': it will not be built WARNING: errors encountered while analyzing target '//mediapipe/java/com/google/mediapipe/framework:android_framework': it will not be built WARNING: errors encountered while analyzing target '//mediapipe/examples/android/src/java/com/google/mediapipe/apps/facedetectioncpu:facedetectioncpu': it will not be built WARNING: errors encountered while analyzing target '//mediapipe/java/com/google/mediapipe/components:android_components': it will not be built WARNING: errors encountered while analyzing target '//mediapipe/java/com/google/mediapipe/components:android_microphone_helper': it will not be built WARNING: errors encountered while analyzing target '//mediapipe/java/com/google/mediapipe/framework:android_core': it will not be built WARNING: errors encountered while analyzing target '//mediapipe/examples/android/src/java/com/google/mediapipe/apps/templatematchingcpu:templatematchingcpu': it will not be built WARNING: errors encountered while analyzing target '//mediapipe/examples/android/src/java/com/google/mediapipe/apps/faceeffect:faceeffect': it will not be built WARNING: errors encountered while analyzing target '//mediapipe/examples/android/src/java/com/google/mediapipe/apps/instantmotiontracking:sticker_buffer_java_proto_lite': it will not be built WARNING: errors encountered while analyzing target '//mediapipe/java/com/google/mediapipe/framework:mediapipe_exception_android': it will not be built WARNING: errors encountered while analyzing target '//mediapipe/java/com/google/mediapipe/framework:framework_proto_lite': it will not be built WARNING: errors encountered while analyzing target '//mediapipe/java/com/google/mediapipe/glutil:glutil': it will not be built WARNING: errors encountered while analyzing target '//mediapipe/examples/android/src/java/com/google/mediapipe/apps/instantmotiontracking:instantmotiontracking_lib': it will not be built WARNING: errors encountered while analyzing target '//mediapipe/examples/android/src/java/com/google/mediapipe/apps/iristrackinggpu:iristrackinggpu': it will not be built WARNING: errors encountered while analyzing target '//mediapipe/examples/android/src/java/com/google/mediapipe/apps/objectdetection3d:objectdetection3d': it will not be built WARNING: errors encountered while analyzing target '//mediapipe/examples/android/src/java/com/google/mediapipe/apps/handtrackinggpu:handtrackinggpu': it will not be built WARNING: errors encountered while analyzing target '//mediapipe/java/com/google/mediapipe/solutionbase:camera_input': it will not be built WARNING: errors encountered while analyzing target '//mediapipe/java/com/google/mediapipe/solutionbase:libmediapipe_jni.so': it will not be built WARNING: errors encountered while analyzing target '//mediapipe/examples/android/src/java/com/google/mediapipe/apps/objectdetectiongpu:objectdetectiongpu': it will not be built WARNING: errors encountered while analyzing target '//mediapipe/examples/android/src/java/com/google/mediapipe/apps/basic:helloworld': it will not be built WARNING: errors encountered while analyzing target '//mediapipe/examples/android/src/java/com/google/mediapipe/apps/handdetectiongpu:handdetectiongpu': it will not be built WARNING: errors encountered while analyzing target '//mediapipe/examples/android/src/java/com/google/mediapipe/apps/posetrackinggpu:posetrackinggpu': it will not be built WARNING: errors encountered while analyzing target '//mediapipe/java/com/google/mediapipe/framework:android_framework_no_mff': it will not be built INFO: Analysis succeeded for only 50 of 86 top-level targets INFO: Analyzed 86 targets (211 packages loaded, 9042 targets configured).
INFO: Found 50 targets... [0 / 10] [Prepa] Writing file mediapipe/java/com/google/mediapipe/glutil/java_src--581388729.intellij-info.txt ERROR: command succeeded, but there were loading phase errors INFO: Elapsed time: 47.812s, Critical Path: 0.27s INFO: 10 processes: 10 internal. FAILED: Build did NOT complete successfully FAILED: Build did NOT complete successfully INFO: Build Event Protocol files produced successfully. FAILED: Build did NOT complete successfully build invocation result: build_error Sync was successful, but there were Bazel build errors. The project may not be fully updated or resolve until fixed. If the errors are from your working set, please uncheck 'Bazel > Sync > Expand Sync to Working Set' and try again. Parsing build outputs... Total rules: 9, new/changed: 9, removed: 0 Reading IDE info result... Reading IDE info result... Updating target map Loaded 9 aspect files, total size 3kB Target map size: 0 Prefetching output artifacts... Reading jdeps files... Loaded 0 jdeps files, total size 0kB Reading package manifests... Java content entry count: 1 Filtering empty jars... Fetching JARs to track empty status.. Filtered 0 JARs, in 0ms Updating Unpacked AAR libraries... Fetching aar files... Updating Render JAR Cache... Fetching Render JARs... Total Render JAR Cache Size: 0 kB (0 files) Updating Jar Cache... Prefetching files... Refreshing files Computing directory structure... Initializing project SDKs... Committing project structure... Workspace has 0 libraries Android resource module count: 0, order entries: 0, generated resources: 0 Workspace has 2 modules Updating in-memory state... Sync finished
Timing summary: BlazeInvocation: 61.3s, Prefetching: 1ms, Other: 917ms
System information
Please help me.