Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR: An error occurred during the fetch of repository '...' #2828

Closed
KenTee920806 opened this issue Nov 29, 2021 · 14 comments
Closed

ERROR: An error occurred during the fetch of repository '...' #2828

KenTee920806 opened this issue Nov 29, 2021 · 14 comments
Assignees
Labels
legacy:hands Hand tracking/gestures/etc platform:android Issues with Android as Platform type:build/install For Build and Installation issues

Comments

@KenTee920806
Copy link

KenTee920806 commented Nov 29, 2021

System information

  • OS Platform and Distribution: macOS Big Sur v11.5.2
  • Compiler version: Apple clang version 12.0.5 (clang-1205.0.22.11)
  • Programming Language and version: java version "1.8.0_311", "17.0.1"
  • MediaPipe version: master branch
  • Bazel version: bazel 3.7.2
  • XCode and Tulsi versions (if iOS): xcode-select version 2384
  • Android SDK and NDK versions (if android): SDK(30), NDK(21.4.7075529)

Describe the problem:

  • I am facing an issue similar to #2629. But instead of 'XNNPACK', I get different fetching repo error each time I try to build android example.

    e.g.
    An error occurred during the fetch of repository 'XNNPACK',
    An error occurred during the fetch of repository 'android_opencv'
    An error occurred during the fetch of repository 'maven'
    ...

  • I am not located at China, and pretty sure that I have a stable network.
    #3

  • I try to workaround the mentioned in 54#issuecomment
    which suggested by @jiuqiant but it did not work.

  • I try to reinstall my xcode which suggested by this post bazel-12471
    but still did not work too.

  • I am follow the instruction on mediapipe android step by step.mediapipe on android

  • I also try the different version of android SDK (above 28.0.3) and different version of android NDK (between 18 and 21),
    but still get the same result.

  • I can successfully build the hello world and c++ example, but for android, I am stuck. Following is one of the build error message.

`bazel build -c opt --config=android_arm64 mediapipe/examples/android/src/java/com/google/mediapipe/apps/handtrackinggpu:handtrackinggpu
Starting local Bazel server and connecting to it...
DEBUG: /private/var/tmp/_bazel_kentee/685fff2cb2612012745612d7b2f9d482/external/org_tensorflow/third_party/repo.bzl:109:14:
Warning: skipping import of repository 'com_google_absl' because it already exists.
DEBUG: /private/var/tmp/_bazel_kentee/685fff2cb2612012745612d7b2f9d482/external/org_tensorflow/third_party/repo.bzl:109:14:
Warning: skipping import of repository 'com_google_protobuf' because it already exists.
DEBUG: /private/var/tmp/_bazel_kentee/685fff2cb2612012745612d7b2f9d482/external/org_tensorflow/third_party/repo.bzl:109:14:
Warning: skipping import of repository 'com_google_googletest' because it already exists.
DEBUG: /private/var/tmp/_bazel_kentee/685fff2cb2612012745612d7b2f9d482/external/org_tensorflow/third_party/repo.bzl:109:14:
Warning: skipping import of repository 'com_github_gflags_gflags' because it already exists.
DEBUG: /private/var/tmp/_bazel_kentee/685fff2cb2612012745612d7b2f9d482/external/org_tensorflow/third_party/repo.bzl:109:14:
Warning: skipping import of repository 'build_bazel_rules_apple' because it already exists.
DEBUG: /private/var/tmp/_bazel_kentee/685fff2cb2612012745612d7b2f9d482/external/org_tensorflow/third_party/repo.bzl:109:14:
Warning: skipping import of repository 'build_bazel_rules_swift' because it already exists.
DEBUG: /private/var/tmp/_bazel_kentee/685fff2cb2612012745612d7b2f9d482/external/org_tensorflow/third_party/repo.bzl:109:14:
Warning: skipping import of repository 'build_bazel_apple_support' because it already exists.
DEBUG: /private/var/tmp/_bazel_kentee/685fff2cb2612012745612d7b2f9d482/external/org_tensorflow/third_party/repo.bzl:109:14:
Warning: skipping import of repository 'bazel_skylib' because it already exists.
DEBUG: /private/var/tmp/_bazel_kentee/685fff2cb2612012745612d7b2f9d482/external/org_tensorflow/third_party/repo.bzl:109:14:
Warning: skipping import of repository 'pybind11' because it already exists.
WARNING: API level 30 specified by android_ndk_repository 'androidndk' is not available. Using latest known API level 29
INFO: Repository XNNPACK instantiated at:
/Users/kentee/Desktop/playground/projects/mediapipe/WORKSPACE:409:14: in
/private/var/tmp/_bazel_kentee/685fff2cb2612012745612d7b2f9d482/external/org_tensorflow/tensorflow/workspace2.bzl:1095:21: in workspace
/private/var/tmp/_bazel_kentee/685fff2cb2612012745612d7b2f9d482/external/org_tensorflow/tensorflow/workspace2.bzl:130:20: in _tf_repositories
/private/var/tmp/_bazel_kentee/685fff2cb2612012745612d7b2f9d482/external/org_tensorflow/third_party/repo.bzl:113:21: in tf_http_archive
Repository rule _tf_http_archive defined at:
/private/var/tmp/_bazel_kentee/685fff2cb2612012745612d7b2f9d482/external/org_tensorflow/third_party/repo.bzl:66:35: in
INFO: Repository 'XNNPACK' used the following cache hits instead of downloading the corresponding file.

  • Hash 'b23e9d9fac5105e556fa0a76ea4eb11b334a74919a048ca5a83e91ad87d62be9' for https://storage.googleapis.com/mirror.tensorflow.org/github.com/google/XNNPACK/archive/28407b24f04694a1353ffca91248e89bc250eb5b.zip
    If the definition of 'XNNPACK' was updated, verify that the hashes were also updated.
    ERROR: An error occurred during the fetch of repository 'XNNPACK':
    Traceback (most recent call last):
    File "/private/var/tmp/_bazel_kentee/685fff2cb2612012745612d7b2f9d482/external/org_tensorflow/third_party/repo.bzl", line 53, column 33, in _tf_http_archive_impl
    ctx.download_and_extract(
    Error in download_and_extract: java.io.IOException: Error extracting /private/var/tmp/_bazel_kentee/685fff2cb2612012745612d7b2f9d482/external/XNNPACK/temp11309223108423078435/28407b24f04694a1353ffca91248e89bc250eb5b.zip to /private/var/tmp/_bazel_kentee/685fff2cb2612012745612d7b2f9d482/external/XNNPACK/temp11309223108423078435: null
    INFO: Repository android_opencv instantiated at:
    /Users/kentee/Desktop/playground/projects/mediapipe/WORKSPACE:218:13: in
    Repository rule http_archive defined at:
    /private/var/tmp/_bazel_kentee/685fff2cb2612012745612d7b2f9d482/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in
    Internal error thrown during build. Printing stack trace: java.lang.RuntimeException: Unrecoverable error while evaluating node 'ConfiguredTargetKey{label=//mediapipe/gpu:pixel_buffer_pool_util, config=BuildConfigurationValue.Key[5d8be7d3b63d22369e641ffa4417bfdc2125aa849a4e329efa43184a4871cf75]}' (requested by nodes 'ConfiguredTargetKey{label=//mediapipe/gpu:gpu_buffer_multi_pool, config=BuildConfigurationValue.Key[5d8be7d3b63d22369e641ffa4417bfdc2125aa849a4e329efa43184a4871cf75]}', 'ConfiguredTargetKey{label=//mediapipe/objc:mediapipe_framework_ios, config=BuildConfigurationValue.Key[5d8be7d3b63d22369e641ffa4417bfdc2125aa849a4e329efa43184a4871cf75]}')
    at com.google.devtools.build.skyframe.AbstractParallelEvaluator$Evaluate.run(AbstractParallelEvaluator.java:513)
    at com.google.devtools.build.lib.concurrent.AbstractQueueVisitor$WrappedRunnable.run(AbstractQueueVisitor.java:398)
    at java.base/java.util.concurrent.ForkJoinTask$AdaptedRunnableAction.exec(Unknown Source)
    at java.base/java.util.concurrent.ForkJoinTask.doExec(Unknown Source)
    at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(Unknown Source)
    at java.base/java.util.concurrent.ForkJoinPool.scan(Unknown Source)
    at java.base/java.util.concurrent.ForkJoinPool.runWorker(Unknown Source)
    at java.base/java.util.concurrent.ForkJoinWorkerThread.run(Unknown Source)
    Caused by: java.lang.NullPointerException
    at com.google.devtools.build.lib.rules.objc.CompilationSupport.getFeatureConfiguration(CompilationSupport.java:582)
    at com.google.devtools.build.lib.rules.objc.CompilationSupport.compile(CompilationSupport.java:273)
    at com.google.devtools.build.lib.rules.objc.CompilationSupport.ccCompileAndLink(CompilationSupport.java:377)
    at com.google.devtools.build.lib.rules.objc.CompilationSupport.registerCompileAndArchiveActions(CompilationSupport.java:1025)
    at com.google.devtools.build.lib.rules.objc.CompilationSupport.registerCompileAndArchiveActions(CompilationSupport.java:1087)
    at com.google.devtools.build.lib.rules.objc.CompilationSupport.registerCompileAndArchiveActions(CompilationSupport.java:973)
    at com.google.devtools.build.lib.rules.objc.ObjcLibrary.create(ObjcLibrary.java:81)
    at com.google.devtools.build.lib.rules.objc.ObjcLibrary.create(ObjcLibrary.java:42)
    at com.google.devtools.build.lib.analysis.ConfiguredTargetFactory.createRule(ConfiguredTargetFactory.java:374)
    at com.google.devtools.build.lib.analysis.ConfiguredTargetFactory.createConfiguredTarget(ConfiguredTargetFactory.java:193)
    at com.google.devtools.build.lib.skyframe.SkyframeBuildView.createConfiguredTarget(SkyframeBuildView.java:938)
    at com.google.devtools.build.lib.skyframe.ConfiguredTargetFunction.createConfiguredTarget(ConfiguredTargetFunction.java:1013)
    at com.google.devtools.build.lib.skyframe.ConfiguredTargetFunction.compute(ConfiguredTargetFunction.java:371)
    at com.google.devtools.build.skyframe.AbstractParallelEvaluator$Evaluate.run(AbstractParallelEvaluator.java:438)
    ... 7 more

INFO: Elapsed time: 14.875s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (174 packages loaded, 12898 targets configured)
Fetching @remotejdk11_macos; fetching 5s
Fetching @maven; Resolving and fetching the transitive closure of 29 artifact(s).. 5s
Fetching ...jdk11_macos; Extracting /private/var/tmp/_bazel_kentee/685fff2cb2612012745612d7b2f9d482/external/remotejdk11_macos/temp11420809637277323898/zulu11.37.17-ca-jdk11.0.6-macosx_x64.tar.gz 4s
Fetching ...f9d482/external/XNNPACK; Extracting /private/var/tmp/_bazel_kentee/685fff2cb2612012745612d7b2f9d482/external/XNNPACK/temp11309223108423078435/28407b24f04694a1353ffca91248e89bc250eb5b.zip
Internal error thrown during build. Printing stack trace: java.lang.RuntimeException: Unrecoverable error while evaluating node 'ConfiguredTargetKey{label=//mediapipe/gpu:pixel_buffer_pool_util, config=BuildConfigurationValue.Key[5d8be7d3b63d22369e641ffa4417bfdc2125aa849a4e329efa43184a4871cf75]}' (requested by nodes 'ConfiguredTargetKey{label=//mediapipe/gpu:gpu_buffer_multi_pool, config=BuildConfigurationValue.Key[5d8be7d3b63d22369e641ffa4417bfdc2125aa849a4e329efa43184a4871cf75]}', 'ConfiguredTargetKey{label=//mediapipe/objc:mediapipe_framework_ios, config=BuildConfigurationValue.Key[5d8be7d3b63d22369e641ffa4417bfdc2125aa849a4e329efa43184a4871cf75]}')
at com.google.devtools.build.skyframe.AbstractParallelEvaluator$Evaluate.run(AbstractParallelEvaluator.java:513)
at com.google.devtools.build.lib.concurrent.AbstractQueueVisitor$WrappedRunnable.run(AbstractQueueVisitor.java:398)
at java.base/java.util.concurrent.ForkJoinTask$AdaptedRunnableAction.exec(Unknown Source)
at java.base/java.util.concurrent.ForkJoinTask.doExec(Unknown Source)
at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(Unknown Source)
at java.base/java.util.concurrent.ForkJoinPool.scan(Unknown Source)
at java.base/java.util.concurrent.ForkJoinPool.runWorker(Unknown Source)
at java.base/java.util.concurrent.ForkJoinWorkerThread.run(Unknown Source)
Caused by: java.lang.NullPointerException
at com.google.devtools.build.lib.rules.objc.CompilationSupport.getFeatureConfiguration(CompilationSupport.java:582)
at com.google.devtools.build.lib.rules.objc.CompilationSupport.compile(CompilationSupport.java:273)
at com.google.devtools.build.lib.rules.objc.CompilationSupport.ccCompileAndLink(CompilationSupport.java:377)
at com.google.devtools.build.lib.rules.objc.CompilationSupport.registerCompileAndArchiveActions(CompilationSupport.java:1025)
at com.google.devtools.build.lib.rules.objc.CompilationSupport.registerCompileAndArchiveActions(CompilationSupport.java:1087)
at com.google.devtools.build.lib.rules.objc.CompilationSupport.registerCompileAndArchiveActions(CompilationSupport.java:973)
at com.google.devtools.build.lib.rules.objc.ObjcLibrary.create(ObjcLibrary.java:81)
at com.google.devtools.build.lib.rules.objc.ObjcLibrary.create(ObjcLibrary.java:42)
at com.google.devtools.build.lib.analysis.ConfiguredTargetFactory.createRule(ConfiguredTargetFactory.java:374)
at com.google.devtools.build.lib.analysis.ConfiguredTargetFactory.createConfiguredTarget(ConfiguredTargetFactory.java:193)
at com.google.devtools.build.lib.skyframe.SkyframeBuildView.createConfiguredTarget(SkyframeBuildView.java:938)
at com.google.devtools.build.lib.skyframe.ConfiguredTargetFunction.createConfiguredTarget(ConfiguredTargetFunction.java:1013)
at com.google.devtools.build.lib.skyframe.ConfiguredTargetFunction.compute(ConfiguredTargetFunction.java:371)
at com.google.devtools.build.skyframe.AbstractParallelEvaluator$Evaluate.run(AbstractParallelEvaluator.java:438)
... 7 more
java.lang.RuntimeException: Unrecoverable error while evaluating node 'ConfiguredTargetKey{label=//mediapipe/gpu:pixel_buffer_pool_util, config=BuildConfigurationValue.Key[5d8be7d3b63d22369e641ffa4417bfdc2125aa849a4e329efa43184a4871cf75]}' (requested by nodes 'ConfiguredTargetKey{label=//mediapipe/gpu:gpu_buffer_multi_pool, config=BuildConfigurationValue.Key[5d8be7d3b63d22369e641ffa4417bfdc2125aa849a4e329efa43184a4871cf75]}', 'ConfiguredTargetKey{label=//mediapipe/objc:mediapipe_framework_ios, config=BuildConfigurationValue.Key[5d8be7d3b63d22369e641ffa4417bfdc2125aa849a4e329efa43184a4871cf75]}')
at com.google.devtools.build.skyframe.AbstractParallelEvaluator$Evaluate.run(AbstractParallelEvaluator.java:513)
at com.google.devtools.build.lib.concurrent.AbstractQueueVisitor$WrappedRunnable.run(AbstractQueueVisitor.java:398)
at java.base/java.util.concurrent.ForkJoinTask$AdaptedRunnableAction.exec(Unknown Source)
at java.base/java.util.concurrent.ForkJoinTask.doExec(Unknown Source)
at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(Unknown Source)
at java.base/java.util.concurrent.ForkJoinPool.scan(Unknown Source)
at java.base/java.util.concurrent.ForkJoinPool.runWorker(Unknown Source)
at java.base/java.util.concurrent.ForkJoinWorkerThread.run(Unknown Source)
Caused by: java.lang.NullPointerException
at com.google.devtools.build.lib.rules.objc.CompilationSupport.getFeatureConfiguration(CompilationSupport.java:582)
at com.google.devtools.build.lib.rules.objc.CompilationSupport.compile(CompilationSupport.java:273)
at com.google.devtools.build.lib.rules.objc.CompilationSupport.ccCompileAndLink(CompilationSupport.java:377)
at com.google.devtools.build.lib.rules.objc.CompilationSupport.registerCompileAndArchiveActions(CompilationSupport.java:1025)
at com.google.devtools.build.lib.rules.objc.CompilationSupport.registerCompileAndArchiveActions(CompilationSupport.java:1087)
at com.google.devtools.build.lib.rules.objc.CompilationSupport.registerCompileAndArchiveActions(CompilationSupport.java:973)
at com.google.devtools.build.lib.rules.objc.ObjcLibrary.create(ObjcLibrary.java:81)
at com.google.devtools.build.lib.rules.objc.ObjcLibrary.create(ObjcLibrary.java:42)
at com.google.devtools.build.lib.analysis.ConfiguredTargetFactory.createRule(ConfiguredTargetFactory.java:374)
at com.google.devtools.build.lib.analysis.ConfiguredTargetFactory.createConfiguredTarget(ConfiguredTargetFactory.java:193)
FAILED: Build did NOT complete successfully (174 packages loaded, 12898 targets configured)
Fetching @remotejdk11_macos; fetching 5s
Fetching @maven; Resolving and fetching the transitive closure of 29 artifact(s).. 5s
Fetching ...jdk11_macos; Extracting /private/var/tmp/_bazel_kentee/685fff2cb2612012745612d7b2f9d482/external/remotejdk11_macos/temp11420809637277323898/zulu11.37.17-ca-jdk11.0.6-macosx_x64.tar.gz 4s
Fetching ...f9d482/external/XNNPACK; Extracting /private/var/tmp/_bazel_kentee/685fff2cb2612012745612d7b2f9d482/external/XNNPACK/temp11309223108423078435/28407b24f04694a1353ffca91248e89bc250eb5b.zip`

Thank you. Your help will be greatly appreciated.

@KenTee920806 KenTee920806 added the type:build/install For Build and Installation issues label Nov 29, 2021
@sgowroji
Copy link

Hi @KenTee920806, Have you tried the workarounds mentioned in the above query after trying the bazel clean --expunge command. Can you try once and try repeating the above steps. And if you are looking for Android Hands solutions. We already have gradle api solution for android at here https://google.github.io/mediapipe/solutions/hands#android-solution-api. You can try using it.

@sgowroji sgowroji added platform:android Issues with Android as Platform legacy:hands Hand tracking/gestures/etc stat:awaiting response Waiting for user response labels Nov 29, 2021
@KenTee920806
Copy link
Author

KenTee920806 commented Nov 29, 2021

Hi @sgowroji thanks for your reply. Yes, I have try multiple times with different version of SDK and NDK after the bazel clean --expunge command. But it still get the same error message: An error occurred during the fetch of repository '...'.
Is there anything I am missing?

I am looking for the Android mediapipe pose solutions. But first I want to experiment with one of the mediapipe android example, and install it on a device, but it failed to build.

@KenTee920806
Copy link
Author

Following is my steps for building example of mediapipe on Android.

Clone the mediapipe master branch version

  1. git clone [email protected]:google/mediapipe.git
  2. cd mediapipe

Check mediapipe installation by running the Hello World! in C++ example

  1. export GLOG_logtostderr=1
  2. bazel run --define MEDIAPIPE_DISABLE_GPU=1 mediapipe/examples/desktop/hello_world:hello_world

Screen Shot 2021-11-29 at 5 13 19 PM

Run bazel clean before start to build the Android app example

  • bazel clean --expunge

Check Java Runtime, Android SDK and Android NDK version

  • java -version

Screen Shot 2021-11-29 at 5 22 27 PM

  • Android SDK version

Screen Shot 2021-11-29 at 5 25 02 PM

  • Android SDK Build-Tools

Screen Shot 2021-11-29 at 5 25 23 PM

  • Android NDK version

Screen Shot 2021-11-29 at 5 25 34 PM

Set $ANDROID_HOME and $ANDROID_NDK_HOME

  1. export ANDROID_HOME=/Users/kentee/Library/Android/sdk
  2. export ANDROID_NDK_HOME=/Users/kentee/Library/Android/sdk/ndk/21.4.7075529

Build the Android mediapipe pose example app

  • bazel build -c opt --config=android_arm64 mediapipe/examples/android/src/java/com/google/mediapipe/apps/posetrackinggpu:posetrackinggpu

`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:
/Users/kentee/Desktop/playground/projects/mediapipe/WORKSPACE:42:13: in
Repository rule http_archive defined at:
/private/var/tmp/_bazel_kentee/685fff2cb2612012745612d7b2f9d482/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in
DEBUG: /private/var/tmp/_bazel_kentee/685fff2cb2612012745612d7b2f9d482/external/org_tensorflow/third_party/repo.bzl:109:14:
Warning: skipping import of repository 'com_google_absl' because it already exists.
DEBUG: /private/var/tmp/_bazel_kentee/685fff2cb2612012745612d7b2f9d482/external/org_tensorflow/third_party/repo.bzl:109:14:
Warning: skipping import of repository 'com_google_protobuf' because it already exists.
DEBUG: /private/var/tmp/_bazel_kentee/685fff2cb2612012745612d7b2f9d482/external/org_tensorflow/third_party/repo.bzl:109:14:
Warning: skipping import of repository 'com_google_googletest' because it already exists.
DEBUG: /private/var/tmp/_bazel_kentee/685fff2cb2612012745612d7b2f9d482/external/org_tensorflow/third_party/repo.bzl:109:14:
Warning: skipping import of repository 'com_github_gflags_gflags' because it already exists.
DEBUG: /private/var/tmp/_bazel_kentee/685fff2cb2612012745612d7b2f9d482/external/org_tensorflow/third_party/repo.bzl:109:14:
Warning: skipping import of repository 'build_bazel_rules_apple' because it already exists.
DEBUG: /private/var/tmp/_bazel_kentee/685fff2cb2612012745612d7b2f9d482/external/org_tensorflow/third_party/repo.bzl:109:14:
Warning: skipping import of repository 'build_bazel_rules_swift' because it already exists.
DEBUG: /private/var/tmp/_bazel_kentee/685fff2cb2612012745612d7b2f9d482/external/org_tensorflow/third_party/repo.bzl:109:14:
Warning: skipping import of repository 'build_bazel_apple_support' because it already exists.
DEBUG: /private/var/tmp/_bazel_kentee/685fff2cb2612012745612d7b2f9d482/external/org_tensorflow/third_party/repo.bzl:109:14:
Warning: skipping import of repository 'bazel_skylib' because it already exists.
DEBUG: /private/var/tmp/_bazel_kentee/685fff2cb2612012745612d7b2f9d482/external/org_tensorflow/third_party/repo.bzl:109:14:
Warning: skipping import of repository 'pybind11' because it already exists.
INFO: SHA256 (https://github.com/bazelbuild/rules_cc/archive/main.zip) = 3839996049629e6377abdfd04681ddeeb0cc3db13b9d2ff81bf46700cb4529f7
DEBUG: Rule 'rules_cc' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "3839996049629e6377abdfd04681ddeeb0cc3db13b9d2ff81bf46700cb4529f7"
DEBUG: Repository rules_cc instantiated at:
/Users/kentee/Desktop/playground/projects/mediapipe/WORKSPACE:36:13: in
Repository rule http_archive defined at:
/private/var/tmp/_bazel_kentee/685fff2cb2612012745612d7b2f9d482/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in
WARNING: API level 30 specified by android_ndk_repository 'androidndk' is not available. Using latest known API level 29
INFO: Repository android_opencv instantiated at:
/Users/kentee/Desktop/playground/projects/mediapipe/WORKSPACE:218:13: in
Repository rule http_archive defined at:
/private/var/tmp/_bazel_kentee/685fff2cb2612012745612d7b2f9d482/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in
ERROR: An error occurred during the fetch of repository 'android_opencv':
Traceback (most recent call last):
File "/private/var/tmp/_bazel_kentee/685fff2cb2612012745612d7b2f9d482/external/bazel_tools/tools/build_defs/repo/http.bzl", line 111, column 45, in _http_archive_impl
download_info = ctx.download_and_extract(
Error in download_and_extract: java.io.IOException: thread interrupted
Internal error thrown during build. Printing stack trace: java.lang.RuntimeException: Unrecoverable error while evaluating node 'ConfiguredTargetKey{label=//mediapipe/gpu:pixel_buffer_pool_util, config=BuildConfigurationValue.Key[5d8be7d3b63d22369e641ffa4417bfdc2125aa849a4e329efa43184a4871cf75]}' (requested by nodes 'ConfiguredTargetKey{label=//mediapipe/gpu:gpu_buffer_multi_pool, config=BuildConfigurationValue.Key[5d8be7d3b63d22369e641ffa4417bfdc2125aa849a4e329efa43184a4871cf75]}')
at com.google.devtools.build.skyframe.AbstractParallelEvaluator$Evaluate.run(AbstractParallelEvaluator.java:513)
at com.google.devtools.build.lib.concurrent.AbstractQueueVisitor$WrappedRunnable.run(AbstractQueueVisitor.java:398)
at java.base/java.util.concurrent.ForkJoinTask$AdaptedRunnableAction.exec(Unknown Source)
at java.base/java.util.concurrent.ForkJoinTask.doExec(Unknown Source)
at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(Unknown Source)
at java.base/java.util.concurrent.ForkJoinPool.scan(Unknown Source)
at java.base/java.util.concurrent.ForkJoinPool.runWorker(Unknown Source)
at java.base/java.util.concurrent.ForkJoinWorkerThread.run(Unknown Source)
Caused by: java.lang.NullPointerException
at com.google.devtools.build.lib.rules.objc.CompilationSupport.getFeatureConfiguration(CompilationSupport.java:582)
at com.google.devtools.build.lib.rules.objc.CompilationSupport.compile(CompilationSupport.java:273)
at com.google.devtools.build.lib.rules.objc.CompilationSupport.ccCompileAndLink(CompilationSupport.java:377)
at com.google.devtools.build.lib.rules.objc.CompilationSupport.registerCompileAndArchiveActions(CompilationSupport.java:1025)
at com.google.devtools.build.lib.rules.objc.CompilationSupport.registerCompileAndArchiveActions(CompilationSupport.java:1087)
at com.google.devtools.build.lib.rules.objc.CompilationSupport.registerCompileAndArchiveActions(CompilationSupport.java:973)
at com.google.devtools.build.lib.rules.objc.ObjcLibrary.create(ObjcLibrary.java:81)
at com.google.devtools.build.lib.rules.objc.ObjcLibrary.create(ObjcLibrary.java:42)
at com.google.devtools.build.lib.analysis.ConfiguredTargetFactory.createRule(ConfiguredTargetFactory.java:374)
at com.google.devtools.build.lib.analysis.ConfiguredTargetFactory.createConfiguredTarget(ConfiguredTargetFactory.java:193)
at com.google.devtools.build.lib.skyframe.SkyframeBuildView.createConfiguredTarget(SkyframeBuildView.java:938)
at com.google.devtools.build.lib.skyframe.ConfiguredTargetFunction.createConfiguredTarget(ConfiguredTargetFunction.java:1013)
at com.google.devtools.build.lib.skyframe.ConfiguredTargetFunction.compute(ConfiguredTargetFunction.java:371)
at com.google.devtools.build.skyframe.AbstractParallelEvaluator$Evaluate.run(AbstractParallelEvaluator.java:438)
... 7 more

INFO: Elapsed time: 21.396s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (173 packages loaded, 12442 targets configured)
Fetching @remotejdk11_macos; fetching 6s
Fetching @maven; Resolving and fetching the transitive closure of 29 artifact(s).. 6s
Fetching ..._macos; Extracting /private/var/tmp/_bazel_kentee/685fff2cb2612012745612d7b2f9d482/external/remotejdk11_macos/temp172441197458366
90067/zulu11.37.17-ca-jdk11.0.6-macosx_x64.tar.gz 5s
Fetching @xnnpack; fetching
Fetching ...NNPACK; Extracting /private/var/tmp/_bazel_kentee/685fff2cb2612012745612d7b2f9d482/external/XNNPACK/temp7830172662972887334/28407
b24f04694a1353ffca91248e89bc250eb5b.zip
Internal error thrown during build. Printing stack trace: java.lang.RuntimeException: Unrecoverable error while evaluating node 'ConfiguredTargetKey{label=//mediapipe/gpu:pixel_buffer_pool_util, config=BuildConfigurationValue.Key[5d8be7d3b63d22369e641ffa4417bfdc2125aa849a4e329efa43184a4871cf75]}' (requested by nodes 'ConfiguredTargetKey{label=//mediapipe/gpu:gpu_buffer_multi_pool, config=BuildConfigurationValue.Key[5d8be7d3b63d22369e641ffa4417bfdc2125aa849a4e329efa43184a4871cf75]}')
at com.google.devtools.build.skyframe.AbstractParallelEvaluator$Evaluate.run(AbstractParallelEvaluator.java:513)
at com.google.devtools.build.lib.concurrent.AbstractQueueVisitor$WrappedRunnable.run(AbstractQueueVisitor.java:398)
at java.base/java.util.concurrent.ForkJoinTask$AdaptedRunnableAction.exec(Unknown Source)
at java.base/java.util.concurrent.ForkJoinTask.doExec(Unknown Source)
at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(Unknown Source)
at java.base/java.util.concurrent.ForkJoinPool.scan(Unknown Source)
at java.base/java.util.concurrent.ForkJoinPool.runWorker(Unknown Source)
at java.base/java.util.concurrent.ForkJoinWorkerThread.run(Unknown Source)
Caused by: java.lang.NullPointerException
at com.google.devtools.build.lib.rules.objc.CompilationSupport.getFeatureConfiguration(CompilationSupport.java:582)
at com.google.devtools.build.lib.rules.objc.CompilationSupport.compile(CompilationSupport.java:273)
at com.google.devtools.build.lib.rules.objc.CompilationSupport.ccCompileAndLink(CompilationSupport.java:377)
at com.google.devtools.build.lib.rules.objc.CompilationSupport.registerCompileAndArchiveActions(CompilationSupport.java:1025)
at com.google.devtools.build.lib.rules.objc.CompilationSupport.registerCompileAndArchiveActions(CompilationSupport.java:1087)
at com.google.devtools.build.lib.rules.objc.CompilationSupport.registerCompileAndArchiveActions(CompilationSupport.java:973)
at com.google.devtools.build.lib.rules.objc.ObjcLibrary.create(ObjcLibrary.java:81)
at com.google.devtools.build.lib.rules.objc.ObjcLibrary.create(ObjcLibrary.java:42)
at com.google.devtools.build.lib.analysis.ConfiguredTargetFactory.createRule(ConfiguredTargetFactory.java:374)
at com.google.devtools.build.lib.analysis.ConfiguredTargetFactory.createConfiguredTarget(ConfiguredTargetFactory.java:193)
at com.google.devtools.build.lib.skyframe.SkyframeBuildView.createConfiguredTarget(SkyframeBuildView.java:938)
at com.google.devtools.build.lib.skyframe.ConfiguredTargetFunction.createConfiguredTarget(ConfiguredTargetFunction.java:1013)
at com.google.devtools.build.lib.skyframe.ConfiguredTargetFunction.compute(ConfiguredTargetFunction.java:371)
at com.google.devtools.build.skyframe.AbstractParallelEvaluator$Evaluate.run(AbstractParallelEvaluator.java:438)
... 7 more
java.lang.RuntimeException: Unrecoverable error while evaluating node 'ConfiguredTargetKey{label=//mediapipe/gpu:pixel_buffer_pool_util, config=BuildConfigurationValue.Key[5d8be7d3b63d22369e641ffa4417bfdc2125aa849a4e329efa43184a4871cf75]}' (requested by nodes 'ConfiguredTargetKey{label=//mediapipe/gpu:gpu_buffer_multi_pool, config=BuildConfigurationValue.Key[5d8be7d3b63d22369e641ffa4417bfdc2125aa849a4e329efa43184a4871cf75]}')
at com.google.devtools.build.skyframe.AbstractParallelEvaluator$Evaluate.run(AbstractParallelEvaluator.java:513)
at com.google.devtools.build.lib.concurrent.AbstractQueueVisitor$WrappedRunnable.run(AbstractQueueVisitor.java:398)
at java.base/java.util.concurrent.ForkJoinTask$AdaptedRunnableAction.exec(Unknown Source)
at java.base/java.util.concurrent.ForkJoinTask.doExec(Unknown Source)
at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(Unknown Source)
at java.base/java.util.concurrent.ForkJoinPool.scan(Unknown Source)
at java.base/java.util.concurrent.ForkJoinPool.runWorker(Unknown Source)
at java.base/java.util.concurrent.ForkJoinWorkerThread.run(Unknown Source)
Caused by: java.lang.NullPointerException
at com.google.devtools.build.lib.rules.objc.CompilationSupport.getFeatureConfiguration(CompilationSupport.java:582)
at com.google.devtools.build.lib.rules.objc.CompilationSupport.compile(CompilationSupport.java:273)
at com.google.devtools.build.lib.rules.objc.CompilationSupport.ccCompileAndLink(CompilationSupport.java:377)
at com.google.devtools.build.lib.rules.objc.CompilationSupport.registerCompileAndArchiveActions(CompilationSupport.java:1025)
at com.google.devtools.build.lib.rules.objc.CompilationSupport.registerCompileAndArchiveActions(CompilationSupport.java:1087)
at com.google.devtools.build.lib.rules.objc.CompilationSupport.registerCompileAndArchiveActions(CompilationSupport.java:973)
at com.google.devtools.build.lib.rules.objc.ObjcLibrary.create(ObjcLibrary.java:81)
FAILED: Build did NOT complete successfully (173 packages loaded, 12442 targets configured)
Fetching @remotejdk11_macos; fetching 6s
Fetching @maven; Resolving and fetching the transitive closure of 29 artifact(s).. 6s
Fetching ..._macos; Extracting /private/var/tmp/_bazel_kentee/685fff2cb2612012745612d7b2f9d482/external/remotejdk11_macos/temp172441197458366
90067/zulu11.37.17-ca-jdk11.0.6-macosx_x64.tar.gz 5s
Fetching @xnnpack; fetching
Fetching ...NNPACK; Extracting /private/var/tmp/_bazel_kentee/685fff2cb2612012745612d7b2f9d482/external/XNNPACK/temp7830172662972887334/28407
b24f04694a1353ffca91248e89bc250eb5b.zip`

@sgowroji
Copy link

Hi @KenTee920806, Assuming its more a network related issue kindly try with any vpn as mentioned here . You can also try the workarounds mentioned here #1275 (comment)

@KenTee920806
Copy link
Author

Hi @sgowroji, I try to workarounds the vpn method.
First, I downloaded the OpenVPN client on my mac, and try to choose one of the vpn at here.

Then I executed the build command:
bazel --host_jvm_args "-DsocksProxyHost=<ip address> -DsocksProxyPort=<port number>" build -c opt --config=android_arm64 mediapipe/examples/android/src/java/com/google/mediapipe/apps/posetrackinggpu:posetrackinggpu

I have two questions at here:

  1. How should i set the ip address? The vpn ip address or my own wifi connection ip address.
  2. How should i set the port number?

I try to use vpn ip address and the port number at this comment to build and i get the following error:
bazel --host_jvm_args "-DsocksProxyHost=219.100.37.187 -DsocksProxyPort=1080" build -c opt --config=android_arm64 mediapipe/examples/android/src/java/com/google/mediapipe/apps/posetrackinggpu:posetrackinggpu
Screen Shot 2021-11-29 at 8 22 41 PM

Thanks for your help!

@KenTee920806
Copy link
Author

Hi @sgowroji, for the vpn method, I found that I forget to set the Android SDK / NDK environment path, after finished to set the enviroment path, and run the build command, i got the following error.
Screen Shot 2021-11-30 at 10 57 29 AM

@KenTee920806
Copy link
Author

Hi @sgowroji, I try to workarounds #1275 (comment) to reinstall my xcode, and still get the same build error.

Reinstall Xcode

  1. sudo rm -rf /Library/Developer/CommandLineTools
  2. xcode-select --install

Check Xcode version

  1. xcode-select -v (xcode-select version 2384)

Run bazel clean before start to build the Android app example

  1. bazel clean --expunge

Build the Android mediapipe pose example app

  1. bazel build -c opt --config=android_arm64 mediapipe/examples/android/src/java/com/google/mediapipe/apps/posetrackinggpu:posetrackinggpu

Error Log message
`Starting local Bazel server and connecting to it...
INFO: SHA256 (https://github.com/bazelbuild/rules_foreign_cc/archive/0.1.0.zip) = c2cdcf55ffaf49366725639e45dedd449b8c3fe22b54e31625eb80ce3a240f1e
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:
/Users/kentee/Desktop/playground/projects/mediapipe/WORKSPACE:42:13: in
Repository rule http_archive defined at:
/private/var/tmp/_bazel_kentee/685fff2cb2612012745612d7b2f9d482/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in
DEBUG: /private/var/tmp/_bazel_kentee/685fff2cb2612012745612d7b2f9d482/external/org_tensorflow/third_party/repo.bzl:109:14:
Warning: skipping import of repository 'com_google_absl' because it already exists.
DEBUG: /private/var/tmp/_bazel_kentee/685fff2cb2612012745612d7b2f9d482/external/org_tensorflow/third_party/repo.bzl:109:14:
Warning: skipping import of repository 'com_google_protobuf' because it already exists.
DEBUG: /private/var/tmp/_bazel_kentee/685fff2cb2612012745612d7b2f9d482/external/org_tensorflow/third_party/repo.bzl:109:14:
Warning: skipping import of repository 'com_google_googletest' because it already exists.
DEBUG: /private/var/tmp/_bazel_kentee/685fff2cb2612012745612d7b2f9d482/external/org_tensorflow/third_party/repo.bzl:109:14:
Warning: skipping import of repository 'com_github_gflags_gflags' because it already exists.
DEBUG: /private/var/tmp/_bazel_kentee/685fff2cb2612012745612d7b2f9d482/external/org_tensorflow/third_party/repo.bzl:109:14:
Warning: skipping import of repository 'build_bazel_rules_apple' because it already exists.
DEBUG: /private/var/tmp/_bazel_kentee/685fff2cb2612012745612d7b2f9d482/external/org_tensorflow/third_party/repo.bzl:109:14:
Warning: skipping import of repository 'build_bazel_rules_swift' because it already exists.
DEBUG: /private/var/tmp/_bazel_kentee/685fff2cb2612012745612d7b2f9d482/external/org_tensorflow/third_party/repo.bzl:109:14:
Warning: skipping import of repository 'build_bazel_apple_support' because it already exists.
DEBUG: /private/var/tmp/_bazel_kentee/685fff2cb2612012745612d7b2f9d482/external/org_tensorflow/third_party/repo.bzl:109:14:
Warning: skipping import of repository 'bazel_skylib' because it already exists.
DEBUG: /private/var/tmp/_bazel_kentee/685fff2cb2612012745612d7b2f9d482/external/org_tensorflow/third_party/repo.bzl:109:14:
Warning: skipping import of repository 'pybind11' because it already exists.
INFO: SHA256 (https://github.com/bazelbuild/rules_cc/archive/main.zip) = 3839996049629e6377abdfd04681ddeeb0cc3db13b9d2ff81bf46700cb4529f7
DEBUG: Rule 'rules_cc' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "3839996049629e6377abdfd04681ddeeb0cc3db13b9d2ff81bf46700cb4529f7"
DEBUG: Repository rules_cc instantiated at:
/Users/kentee/Desktop/playground/projects/mediapipe/WORKSPACE:36:13: in
Repository rule http_archive defined at:
/private/var/tmp/_bazel_kentee/685fff2cb2612012745612d7b2f9d482/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in
WARNING: API level 30 specified by android_ndk_repository 'androidndk' is not available. Using latest known API level 29
INFO: Repository XNNPACK instantiated at:
/Users/kentee/Desktop/playground/projects/mediapipe/WORKSPACE:409:14: in
/private/var/tmp/_bazel_kentee/685fff2cb2612012745612d7b2f9d482/external/org_tensorflow/tensorflow/workspace2.bzl:1095:21: in workspace
/private/var/tmp/_bazel_kentee/685fff2cb2612012745612d7b2f9d482/external/org_tensorflow/tensorflow/workspace2.bzl:130:20: in _tf_repositories
/private/var/tmp/_bazel_kentee/685fff2cb2612012745612d7b2f9d482/external/org_tensorflow/third_party/repo.bzl:113:21: in tf_http_archive
Repository rule _tf_http_archive defined at:
/private/var/tmp/_bazel_kentee/685fff2cb2612012745612d7b2f9d482/external/org_tensorflow/third_party/repo.bzl:66:35: in
INFO: Repository 'XNNPACK' used the following cache hits instead of downloading the corresponding file.

  • Hash 'b23e9d9fac5105e556fa0a76ea4eb11b334a74919a048ca5a83e91ad87d62be9' for https://storage.googleapis.com/mirror.tensorflow.org/github.com/google/XNNPACK/archive/28407b24f04694a1353ffca91248e89bc250eb5b.zip
    If the definition of 'XNNPACK' was updated, verify that the hashes were also updated.
    ERROR: An error occurred during the fetch of repository 'XNNPACK':
    Traceback (most recent call last):
    File "/private/var/tmp/_bazel_kentee/685fff2cb2612012745612d7b2f9d482/external/org_tensorflow/third_party/repo.bzl", line 53, column 33, in _tf_http_archive_impl
    ctx.download_and_extract(
    Error in download_and_extract: java.io.IOException: Error extracting /private/var/tmp/_bazel_kentee/685fff2cb2612012745612d7b2f9d482/external/XNNPACK/temp18355308772163956300/28407b24f04694a1353ffca91248e89bc250eb5b.zip to /private/var/tmp/_bazel_kentee/685fff2cb2612012745612d7b2f9d482/external/XNNPACK/temp18355308772163956300: null
    INFO: Repository android_opencv instantiated at:
    /Users/kentee/Desktop/playground/projects/mediapipe/WORKSPACE:218:13: in
    Repository rule http_archive defined at:
    /private/var/tmp/_bazel_kentee/685fff2cb2612012745612d7b2f9d482/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in
    Internal error thrown during build. Printing stack trace: java.lang.RuntimeException: Unrecoverable error while evaluating node 'ConfiguredTargetKey{label=@google_toolbox_for_mac//:GTM_Defines, config=BuildConfigurationValue.Key[5d8be7d3b63d22369e641ffa4417bfdc2125aa849a4e329efa43184a4871cf75]}' (requested by nodes 'ConfiguredTargetKey{label=//mediapipe/gpu:MPPGraphGPUData, config=BuildConfigurationValue.Key[5d8be7d3b63d22369e641ffa4417bfdc2125aa849a4e329efa43184a4871cf75]}')
    at com.google.devtools.build.skyframe.AbstractParallelEvaluator$Evaluate.run(AbstractParallelEvaluator.java:513)
    at com.google.devtools.build.lib.concurrent.AbstractQueueVisitor$WrappedRunnable.run(AbstractQueueVisitor.java:398)
    at java.base/java.util.concurrent.ForkJoinTask$AdaptedRunnableAction.exec(Unknown Source)
    at java.base/java.util.concurrent.ForkJoinTask.doExec(Unknown Source)
    at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(Unknown Source)
    at java.base/java.util.concurrent.ForkJoinPool.scan(Unknown Source)
    at java.base/java.util.concurrent.ForkJoinPool.runWorker(Unknown Source)
    at java.base/java.util.concurrent.ForkJoinWorkerThread.run(Unknown Source)
    Caused by: java.lang.NullPointerException
    at com.google.devtools.build.lib.rules.objc.CompilationSupport.getFeatureConfiguration(CompilationSupport.java:582)
    at com.google.devtools.build.lib.rules.objc.CompilationSupport.compile(CompilationSupport.java:273)
    at com.google.devtools.build.lib.rules.objc.CompilationSupport.ccCompileAndLink(CompilationSupport.java:377)
    at com.google.devtools.build.lib.rules.objc.CompilationSupport.registerCompileAndArchiveActions(CompilationSupport.java:1043)
    at com.google.devtools.build.lib.rules.objc.CompilationSupport.registerCompileAndArchiveActions(CompilationSupport.java:1087)
    at com.google.devtools.build.lib.rules.objc.CompilationSupport.registerCompileAndArchiveActions(CompilationSupport.java:973)
    at com.google.devtools.build.lib.rules.objc.ObjcLibrary.create(ObjcLibrary.java:81)
    at com.google.devtools.build.lib.rules.objc.ObjcLibrary.create(ObjcLibrary.java:42)
    at com.google.devtools.build.lib.analysis.ConfiguredTargetFactory.createRule(ConfiguredTargetFactory.java:374)
    at com.google.devtools.build.lib.analysis.ConfiguredTargetFactory.createConfiguredTarget(ConfiguredTargetFactory.java:193)
    at com.google.devtools.build.lib.skyframe.SkyframeBuildView.createConfiguredTarget(SkyframeBuildView.java:938)
    at com.google.devtools.build.lib.skyframe.ConfiguredTargetFunction.createConfiguredTarget(ConfiguredTargetFunction.java:1013)
    at com.google.devtools.build.lib.skyframe.ConfiguredTargetFunction.compute(ConfiguredTargetFunction.java:371)
    at com.google.devtools.build.skyframe.AbstractParallelEvaluator$Evaluate.run(AbstractParallelEvaluator.java:438)
    ... 7 more

INFO: Elapsed time: 40.508s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (151 packages loaded, 10377 targets configured)
Fetching @remotejdk11_macos; fetching 5s
Fetching @maven; Resolving and fetching the transitive closure of 29 artifact(s).. 5s
Fetching ..._macos; Extracting /private/var/tmp/_bazel_kentee/685fff2cb2612012745612d7b2f9d482/external/remotejdk11_macos/te
mp17179054143049454349/zulu11.37.17-ca-jdk11.0.6-macosx_x64.tar.gz 4s
Fetching ...NNPACK; Extracting /private/var/tmp/_bazel_kentee/685fff2cb2612012745612d7b2f9d482/external/XNNPACK/temp18355308
772163956300/28407b24f04694a1353ffca91248e89bc250eb5b.zip
Fetching @clog; fetching
Fetching ...l/clog; Extracting /private/var/tmp/_bazel_kentee/685fff2cb2612012745612d7b2f9d482/external/clog/temp77365180358
78026981/d5e37adf1406cf899d7d9ec1d317c47506ccb970.tar.gz
Internal error thrown during build. Printing stack trace: java.lang.RuntimeException: Unrecoverable error while evaluating node 'ConfiguredTargetKey{label=@google_toolbox_for_mac//:GTM_Defines, config=BuildConfigurationValue.Key[5d8be7d3b63d22369e641ffa4417bfdc2125aa849a4e329efa43184a4871cf75]}' (requested by nodes 'ConfiguredTargetKey{label=//mediapipe/gpu:MPPGraphGPUData, config=BuildConfigurationValue.Key[5d8be7d3b63d22369e641ffa4417bfdc2125aa849a4e329efa43184a4871cf75]}')
at com.google.devtools.build.skyframe.AbstractParallelEvaluator$Evaluate.run(AbstractParallelEvaluator.java:513)
at com.google.devtools.build.lib.concurrent.AbstractQueueVisitor$WrappedRunnable.run(AbstractQueueVisitor.java:398)
at java.base/java.util.concurrent.ForkJoinTask$AdaptedRunnableAction.exec(Unknown Source)
at java.base/java.util.concurrent.ForkJoinTask.doExec(Unknown Source)
at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(Unknown Source)
at java.base/java.util.concurrent.ForkJoinPool.scan(Unknown Source)
at java.base/java.util.concurrent.ForkJoinPool.runWorker(Unknown Source)
at java.base/java.util.concurrent.ForkJoinWorkerThread.run(Unknown Source)
Caused by: java.lang.NullPointerException
at com.google.devtools.build.lib.rules.objc.CompilationSupport.getFeatureConfiguration(CompilationSupport.java:582)
at com.google.devtools.build.lib.rules.objc.CompilationSupport.compile(CompilationSupport.java:273)
at com.google.devtools.build.lib.rules.objc.CompilationSupport.ccCompileAndLink(CompilationSupport.java:377)
at com.google.devtools.build.lib.rules.objc.CompilationSupport.registerCompileAndArchiveActions(CompilationSupport.java:1043)
at com.google.devtools.build.lib.rules.objc.CompilationSupport.registerCompileAndArchiveActions(CompilationSupport.java:1087)
at com.google.devtools.build.lib.rules.objc.CompilationSupport.registerCompileAndArchiveActions(CompilationSupport.java:973)
at com.google.devtools.build.lib.rules.objc.ObjcLibrary.create(ObjcLibrary.java:81)
at com.google.devtools.build.lib.rules.objc.ObjcLibrary.create(ObjcLibrary.java:42)
at com.google.devtools.build.lib.analysis.ConfiguredTargetFactory.createRule(ConfiguredTargetFactory.java:374)
at com.google.devtools.build.lib.analysis.ConfiguredTargetFactory.createConfiguredTarget(ConfiguredTargetFactory.java:193)
at com.google.devtools.build.lib.skyframe.SkyframeBuildView.createConfiguredTarget(SkyframeBuildView.java:938)
at com.google.devtools.build.lib.skyframe.ConfiguredTargetFunction.createConfiguredTarget(ConfiguredTargetFunction.java:1013)
at com.google.devtools.build.lib.skyframe.ConfiguredTargetFunction.compute(ConfiguredTargetFunction.java:371)
at com.google.devtools.build.skyframe.AbstractParallelEvaluator$Evaluate.run(AbstractParallelEvaluator.java:438)
... 7 more
java.lang.RuntimeException: Unrecoverable error while evaluating node 'ConfiguredTargetKey{label=@google_toolbox_for_mac//:GTM_Defines, config=BuildConfigurationValue.Key[5d8be7d3b63d22369e641ffa4417bfdc2125aa849a4e329efa43184a4871cf75]}' (requested by nodes 'ConfiguredTargetKey{label=//mediapipe/gpu:MPPGraphGPUData, config=BuildConfigurationValue.Key[5d8be7d3b63d22369e641ffa4417bfdc2125aa849a4e329efa43184a4871cf75]}')
at com.google.devtools.build.skyframe.AbstractParallelEvaluator$Evaluate.run(AbstractParallelEvaluator.java:513)
at com.google.devtools.build.lib.concurrent.AbstractQueueVisitor$WrappedRunnable.run(AbstractQueueVisitor.java:398)
at java.base/java.util.concurrent.ForkJoinTask$AdaptedRunnableAction.exec(Unknown Source)
at java.base/java.util.concurrent.ForkJoinTask.doExec(Unknown Source)
at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(Unknown Source)
at java.base/java.util.concurrent.ForkJoinPool.scan(Unknown Source)
at java.base/java.util.concurrent.ForkJoinPool.runWorker(Unknown Source)
at java.base/java.util.concurrent.ForkJoinWorkerThread.run(Unknown Source)
Caused by: java.lang.NullPointerException
at com.google.devtools.build.lib.rules.objc.CompilationSupport.getFeatureConfiguration(CompilationSupport.java:582)
at com.google.devtools.build.lib.rules.objc.CompilationSupport.compile(CompilationSupport.java:273)
at com.google.devtools.build.lib.rules.objc.CompilationSupport.ccCompileAndLink(CompilationSupport.java:377)
at com.google.devtools.build.lib.rules.objc.CompilationSupport.registerCompileAndArchiveActions(CompilationSupport.java:1043)
at com.google.devtools.build.lib.rules.objc.CompilationSupport.registerCompileAndArchiveActions(CompilationSupport.java:1087)
at com.google.devtools.build.lib.rules.objc.CompilationSupport.registerCompileAndArchiveActions(CompilationSupport.java:973)
FAILED: Build did NOT complete successfully (151 packages loaded, 10377 targets configured)
Fetching @remotejdk11_macos; fetching 5s
Fetching @maven; Resolving and fetching the transitive closure of 29 artifact(s).. 5s
Fetching ..._macos; Extracting /private/var/tmp/_bazel_kentee/685fff2cb2612012745612d7b2f9d482/external/remotejdk11_macos/te
mp17179054143049454349/zulu11.37.17-ca-jdk11.0.6-macosx_x64.tar.gz 4s
Fetching ...NNPACK; Extracting /private/var/tmp/_bazel_kentee/685fff2cb2612012745612d7b2f9d482/external/XNNPACK/temp18355308
772163956300/28407b24f04694a1353ffca91248e89bc250eb5b.zip
Fetching @clog; fetching
Fetching ...l/clog; Extracting /private/var/tmp/_bazel_kentee/685fff2cb2612012745612d7b2f9d482/external/clog/temp77365180358
78026981/d5e37adf1406cf899d7d9ec1d317c47506ccb970.tar.gz`

@sgowroji sgowroji added stat:awaiting googler Waiting for Google Engineer's Response and removed stat:awaiting response Waiting for user response labels Dec 3, 2021
@sgowroji sgowroji assigned jiuqiant and unassigned sgowroji Dec 3, 2021
@sgowroji
Copy link

hi @KenTee920806, Can you please try with the latest release to build and install and we also updated our recommended versions of sdk, ndk version and bazel 4.2.1 .

@sgowroji sgowroji added stat:awaiting response Waiting for user response and removed stat:awaiting googler Waiting for Google Engineer's Response labels Dec 15, 2021
@TechnicalMeaw
Copy link

I also have the same problem

`C:\mediapipe\mediapipe>bazel build -c opt --config=android_arm64 mediapipe/examples/android/src/java/com/google/mediapipe/apps/handtrackinggpu:handtrackinggpu
WARNING: Output user root "C:/Users/Santanu Mukherjee/_bazel_Santanu Mukherjee" contains a space. This will probably break the build. You should set a different --output_user_root.
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:
C:/mediapipe/mediapipe/WORKSPACE:42:13: in
Repository rule http_archive defined at:
C:/users/santanu mukherjee/_bazel_santanu mukherjee/cpr34qgy/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in
DEBUG: C:/users/santanu mukherjee/_bazel_santanu mukherjee/cpr34qgy/external/org_tensorflow/third_party/repo.bzl:109:14:
Warning: skipping import of repository 'com_google_absl' because it already exists.
DEBUG: C:/users/santanu mukherjee/_bazel_santanu mukherjee/cpr34qgy/external/org_tensorflow/third_party/repo.bzl:109:14:
Warning: skipping import of repository 'com_google_protobuf' because it already exists.
DEBUG: C:/users/santanu mukherjee/_bazel_santanu mukherjee/cpr34qgy/external/org_tensorflow/third_party/repo.bzl:109:14:
Warning: skipping import of repository 'com_google_googletest' because it already exists.
DEBUG: C:/users/santanu mukherjee/_bazel_santanu mukherjee/cpr34qgy/external/org_tensorflow/third_party/repo.bzl:109:14:
Warning: skipping import of repository 'com_github_gflags_gflags' because it already exists.
DEBUG: C:/users/santanu mukherjee/_bazel_santanu mukherjee/cpr34qgy/external/org_tensorflow/third_party/repo.bzl:109:14:
Warning: skipping import of repository 'build_bazel_rules_apple' because it already exists.
DEBUG: C:/users/santanu mukherjee/_bazel_santanu mukherjee/cpr34qgy/external/org_tensorflow/third_party/repo.bzl:109:14:
Warning: skipping import of repository 'build_bazel_rules_swift' because it already exists.
DEBUG: C:/users/santanu mukherjee/_bazel_santanu mukherjee/cpr34qgy/external/org_tensorflow/third_party/repo.bzl:109:14:
Warning: skipping import of repository 'build_bazel_apple_support' because it already exists.
DEBUG: C:/users/santanu mukherjee/_bazel_santanu mukherjee/cpr34qgy/external/org_tensorflow/third_party/repo.bzl:109:14:
Warning: skipping import of repository 'bazel_skylib' because it already exists.
DEBUG: C:/users/santanu mukherjee/_bazel_santanu mukherjee/cpr34qgy/external/org_tensorflow/third_party/repo.bzl:109:14:
Warning: skipping import of repository 'pybind11' because it already exists.
DEBUG: Rule 'rules_cc' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "3839996049629e6377abdfd04681ddeeb0cc3db13b9d2ff81bf46700cb4529f7"
DEBUG: Repository rules_cc instantiated at:
C:/mediapipe/mediapipe/WORKSPACE:36:13: in
Repository rule http_archive defined at:
C:/users/santanu mukherjee/_bazel_santanu mukherjee/cpr34qgy/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in
WARNING: API level 30 specified by android_ndk_repository 'androidndk' is not available. Using latest known API level 29
Coursier 2.0.7
Usage: coursier [options] [command] [command-options]

Available commands: bootstrap, channel, complete, fetch, get, install, java, java-home, launch, list, publish, resolve, setup, uninstall, update

Type coursier command --help for help on an individual command
Exception in thread "main" java.lang.RuntimeException: Couldn't find pwsh.exe or powershell.exe on path or in default system locations
at coursier.cache.shaded.dirs.dev.dirs.Util.windowsFallback(Util.java:265)
at coursier.cache.shaded.dirs.dev.dirs.Util.getWinDirs(Util.java:163)
at coursier.cache.shaded.dirs.dev.dirs.ProjectDirectories.fromPath(ProjectDirectories.java:254)
at coursier.cache.shaded.dirs.dev.dirs.ProjectDirectories.from(ProjectDirectories.java:308)
at coursier.paths.CoursierPaths.coursierDirectories(CoursierPaths.java:90)
at coursier.paths.CoursierPaths.computeConfigDirectories(CoursierPaths.java:106)
at coursier.paths.CoursierPaths.configDirectories(CoursierPaths.java:124)
at coursier.cli.install.SharedChannelParams$.apply(SharedChannelParams.scala:37)
at coursier.cli.params.RepositoryParams$.apply(RepositoryParams.scala:36)
at coursier.cli.resolve.SharedResolveParams$.apply(SharedResolveParams.scala:34)
at coursier.cli.fetch.FetchParams$.apply(FetchParams.scala:28)
at coursier.cli.fetch.Fetch$.run(Fetch.scala:83)
at coursier.cli.Coursier$.$anonfun$runA$2(Coursier.scala:147)
at coursier.cli.Coursier$.$anonfun$runA$2$adapted(Coursier.scala:139)
at coursier.cli.CommandAppPreA.run(CommandAppPreA.scala:22)
at caseapp.core.app.CommandAppWithPreCommand.$anonfun$main$5(CommandAppWithPreCommand.scala:99)
at caseapp.core.app.CommandAppWithPreCommand.$anonfun$main$5$adapted(CommandAppWithPreCommand.scala:99)
at scala.util.Either.fold(Either.scala:191)
at caseapp.core.app.CommandAppWithPreCommand.$anonfun$main$3(CommandAppWithPreCommand.scala:99)
at caseapp.core.app.CommandAppWithPreCommand.$anonfun$main$3$adapted(CommandAppWithPreCommand.scala:85)
at scala.Option.foreach(Option.scala:407)
at caseapp.core.app.CommandAppWithPreCommand.main(CommandAppWithPreCommand.scala:85)
at coursier.cli.Coursier$.main(Coursier.scala:104)
at coursier.cli.Coursier.main(Coursier.scala)
Caused by: java.io.IOException: no output from process
at coursier.cache.shaded.dirs.dev.dirs.Util.runCommands(Util.java:201)
at coursier.cache.shaded.dirs.dev.dirs.Util.runWinCommands(Util.java:226)
at coursier.cache.shaded.dirs.dev.dirs.Util.windowsFallback(Util.java:263)
... 23 more
INFO: Repository maven instantiated at:
C:/mediapipe/mediapipe/WORKSPACE:331:14: in
C:/users/santanu mukherjee/_bazel_santanu mukherjee/cpr34qgy/external/rules_jvm_external/defs.bzl:105:19: in maven_install
Repository rule coursier_fetch defined at:
C:/users/santanu mukherjee/_bazel_santanu mukherjee/cpr34qgy/external/rules_jvm_external/coursier.bzl:1009:33: in
INFO: Repository 'maven' used the following cache hits instead of downloading the corresponding file.

  • Hash 'a51d36968dcbdeabb3142c6f5cf9b401a65dc3a095f3144bd0c118d5bb192753' for https://github.com/stedolan/jq/releases/download/jq-1.6/jq-win64.exe
  • Hash 'af986793a515d500ab2d35f8d2aecd656e764504b789b66d7e1a0b727a124c44' for https://github.com/stedolan/jq/releases/download/jq-1.6/jq-linux64
  • Hash '5c0a0a3ea600f302ee458b30317425dd9632d1ad8882259fcaf4e9b868b2b1ef' for https://github.com/stedolan/jq/releases/download/jq-1.6/jq-osx-amd64
  • Hash 'babba8a144533f041a4de791d32de00552e31fa56231f241560a2ce6a7a72702' for https://github.com/coursier/coursier/releases/download/v2.0.7/coursier.jar
    If the definition of 'maven' was updated, verify that the hashes were also updated.
    ERROR: An error occurred during the fetch of repository 'maven':
    Traceback (most recent call last):
    File "C:/users/santanu mukherjee/_bazel_santanu mukherjee/cpr34qgy/external/rules_jvm_external/coursier.bzl", line 710, column 38, in _coursier_fetch_impl
    dep_tree = make_coursier_dep_tree(
    File "C:/users/santanu mukherjee/_bazel_santanu mukherjee/cpr34qgy/external/rules_jvm_external/coursier.bzl", line 649, column 13, in make_coursier_dep_tree
    fail("Error while fetching artifact with coursier: " + exec_result.stderr)
    Error in fail: Error while fetching artifact with coursier: Exception in thread "main" java.lang.RuntimeException: Couldn't find pwsh.exe or powershell.exe on path or in default system locations
    at coursier.cache.shaded.dirs.dev.dirs.Util.windowsFallback(Util.java:265)
    at coursier.cache.shaded.dirs.dev.dirs.Util.getWinDirs(Util.java:163)
    at coursier.cache.shaded.dirs.dev.dirs.ProjectDirectories.fromPath(ProjectDirectories.java:254)
    at coursier.cache.shaded.dirs.dev.dirs.ProjectDirectories.from(ProjectDirectories.java:308)
    at coursier.paths.CoursierPaths.coursierDirectories(CoursierPaths.java:90)
    at coursier.paths.CoursierPaths.computeConfigDirectories(CoursierPaths.java:106)
    at coursier.paths.CoursierPaths.configDirectories(CoursierPaths.java:124)
    at coursier.cli.install.SharedChannelParams$.apply(SharedChannelParams.scala:37)
    at coursier.cli.params.RepositoryParams$.apply(RepositoryParams.scala:36)
    at coursier.cli.resolve.SharedResolveParams$.apply(SharedResolveParams.scala:34)
    at coursier.cli.fetch.FetchParams$.apply(FetchParams.scala:28)
    at coursier.cli.fetch.Fetch$.run(Fetch.scala:83)
    at coursier.cli.Coursier$.$anonfun$runA$2(Coursier.scala:147)
    at coursier.cli.Coursier$.$anonfun$runA$2$adapted(Coursier.scala:139)
    at coursier.cli.CommandAppPreA.run(CommandAppPreA.scala:22)
    at caseapp.core.app.CommandAppWithPreCommand.$anonfun$main$5(CommandAppWithPreCommand.scala:99)
    at caseapp.core.app.CommandAppWithPreCommand.$anonfun$main$5$adapted(CommandAppWithPreCommand.scala:99)
    at scala.util.Either.fold(Either.scala:191)
    at caseapp.core.app.CommandAppWithPreCommand.$anonfun$main$3(CommandAppWithPreCommand.scala:99)
    at caseapp.core.app.CommandAppWithPreCommand.$anonfun$main$3$adapted(CommandAppWithPreCommand.scala:85)
    at scala.Option.foreach(Option.scala:407)
    at caseapp.core.app.CommandAppWithPreCommand.main(CommandAppWithPreCommand.scala:85)
    at coursier.cli.Coursier$.main(Coursier.scala:104)
    at coursier.cli.Coursier.main(Coursier.scala)
    Caused by: java.io.IOException: no output from process
    at coursier.cache.shaded.dirs.dev.dirs.Util.runCommands(Util.java:201)
    at coursier.cache.shaded.dirs.dev.dirs.Util.runWinCommands(Util.java:226)
    at coursier.cache.shaded.dirs.dev.dirs.Util.windowsFallback(Util.java:263)
    ... 23 more
    INFO: Repository remotejdk11_win instantiated at:
    /DEFAULT.WORKSPACE.SUFFIX:193:6: in
    C:/users/santanu mukherjee/_bazel_santanu mukherjee/cpr34qgy/external/bazel_tools/tools/build_defs/repo/utils.bzl:201:18: in maybe
    Repository rule http_archive defined at:
    C:/users/santanu mukherjee/_bazel_santanu mukherjee/cpr34qgy/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in
    ERROR: C:/mediapipe/mediapipe/mediapipe/examples/android/src/java/com/google/mediapipe/apps/basic/BUILD:18:16: //mediapipe/examples/android/src/java/com/google/mediapipe/apps/basic:basic_lib depends on @maven//:androidx_concurrent_concurrent_futures in repository @maven which failed to fetch. no such package '@maven//': Error while fetching artifact with coursier: Exception in thread "main" java.lang.RuntimeException: Couldn't find pwsh.exe or powershell.exe on path or in default system locations
    at coursier.cache.shaded.dirs.dev.dirs.Util.windowsFallback(Util.java:265)
    at coursier.cache.shaded.dirs.dev.dirs.Util.getWinDirs(Util.java:163)
    at coursier.cache.shaded.dirs.dev.dirs.ProjectDirectories.fromPath(ProjectDirectories.java:254)
    at coursier.cache.shaded.dirs.dev.dirs.ProjectDirectories.from(ProjectDirectories.java:308)
    at coursier.paths.CoursierPaths.coursierDirectories(CoursierPaths.java:90)
    at coursier.paths.CoursierPaths.computeConfigDirectories(CoursierPaths.java:106)
    at coursier.paths.CoursierPaths.configDirectories(CoursierPaths.java:124)
    at coursier.cli.install.SharedChannelParams$.apply(SharedChannelParams.scala:37)
    at coursier.cli.params.RepositoryParams$.apply(RepositoryParams.scala:36)
    at coursier.cli.resolve.SharedResolveParams$.apply(SharedResolveParams.scala:34)
    at coursier.cli.fetch.FetchParams$.apply(FetchParams.scala:28)
    at coursier.cli.fetch.Fetch$.run(Fetch.scala:83)
    at coursier.cli.Coursier$.$anonfun$runA$2(Coursier.scala:147)
    at coursier.cli.Coursier$.$anonfun$runA$2$adapted(Coursier.scala:139)
    at coursier.cli.CommandAppPreA.run(CommandAppPreA.scala:22)
    at caseapp.core.app.CommandAppWithPreCommand.$anonfun$main$5(CommandAppWithPreCommand.scala:99)
    at caseapp.core.app.CommandAppWithPreCommand.$anonfun$main$5$adapted(CommandAppWithPreCommand.scala:99)
    at scala.util.Either.fold(Either.scala:191)
    at caseapp.core.app.CommandAppWithPreCommand.$anonfun$main$3(CommandAppWithPreCommand.scala:99)
    at caseapp.core.app.CommandAppWithPreCommand.$anonfun$main$3$adapted(CommandAppWithPreCommand.scala:85)
    at scala.Option.foreach(Option.scala:407)
    at caseapp.core.app.CommandAppWithPreCommand.main(CommandAppWithPreCommand.scala:85)
    at coursier.cli.Coursier$.main(Coursier.scala:104)
    at coursier.cli.Coursier.main(Coursier.scala)
    Caused by: java.io.IOException: no output from process
    at coursier.cache.shaded.dirs.dev.dirs.Util.runCommands(Util.java:201)
    at coursier.cache.shaded.dirs.dev.dirs.Util.runWinCommands(Util.java:226)
    at coursier.cache.shaded.dirs.dev.dirs.Util.windowsFallback(Util.java:263)
    ... 23 more
    ERROR: C:/mediapipe/mediapipe/mediapipe/examples/android/src/java/com/google/mediapipe/apps/basic/BUILD:18:16: //mediapipe/examples/android/src/java/com/google/mediapipe/apps/basic:basic_lib depends on @maven//:com_google_guava_guava in repository @maven which failed to fetch. no such package '@maven//': Error while fetching artifact with coursier: Exception in thread "main" java.lang.RuntimeException: Couldn't find pwsh.exe or powershell.exe on path or in default system locations
    at coursier.cache.shaded.dirs.dev.dirs.Util.windowsFallback(Util.java:265)
    at coursier.cache.shaded.dirs.dev.dirs.Util.getWinDirs(Util.java:163)
    at coursier.cache.shaded.dirs.dev.dirs.ProjectDirectories.fromPath(ProjectDirectories.java:254)
    at coursier.cache.shaded.dirs.dev.dirs.ProjectDirectories.from(ProjectDirectories.java:308)
    at coursier.paths.CoursierPaths.coursierDirectories(CoursierPaths.java:90)
    at coursier.paths.CoursierPaths.computeConfigDirectories(CoursierPaths.java:106)
    at coursier.paths.CoursierPaths.configDirectories(CoursierPaths.java:124)
    at coursier.cli.install.SharedChannelParams$.apply(SharedChannelParams.scala:37)
    at coursier.cli.params.RepositoryParams$.apply(RepositoryParams.scala:36)
    at coursier.cli.resolve.SharedResolveParams$.apply(SharedResolveParams.scala:34)
    at coursier.cli.fetch.FetchParams$.apply(FetchParams.scala:28)
    at coursier.cli.fetch.Fetch$.run(Fetch.scala:83)
    at coursier.cli.Coursier$.$anonfun$runA$2(Coursier.scala:147)
    at coursier.cli.Coursier$.$anonfun$runA$2$adapted(Coursier.scala:139)
    at coursier.cli.CommandAppPreA.run(CommandAppPreA.scala:22)
    at caseapp.core.app.CommandAppWithPreCommand.$anonfun$main$5(CommandAppWithPreCommand.scala:99)
    at caseapp.core.app.CommandAppWithPreCommand.$anonfun$main$5$adapted(CommandAppWithPreCommand.scala:99)
    at scala.util.Either.fold(Either.scala:191)
    at caseapp.core.app.CommandAppWithPreCommand.$anonfun$main$3(CommandAppWithPreCommand.scala:99)
    at caseapp.core.app.CommandAppWithPreCommand.$anonfun$main$3$adapted(CommandAppWithPreCommand.scala:85)
    at scala.Option.foreach(Option.scala:407)
    at caseapp.core.app.CommandAppWithPreCommand.main(CommandAppWithPreCommand.scala:85)
    at coursier.cli.Coursier$.main(Coursier.scala:104)
    at coursier.cli.Coursier.main(Coursier.scala)
    Caused by: java.io.IOException: no output from process
    at coursier.cache.shaded.dirs.dev.dirs.Util.runCommands(Util.java:201)
    at coursier.cache.shaded.dirs.dev.dirs.Util.runWinCommands(Util.java:226)
    at coursier.cache.shaded.dirs.dev.dirs.Util.windowsFallback(Util.java:263)
    ... 23 more
    ERROR: Analysis of target '//mediapipe/examples/android/src/java/com/google/mediapipe/apps/handtrackinggpu:handtrackinggpu' failed; build aborted: Analysis failed
    INFO: Elapsed time: 23.369s
    INFO: 0 processes.
    FAILED: Build did NOT complete successfully (15 packages loaded, 1229 targets configured)`

@jiuqiant
Copy link
Contributor

@TechnicalMeaw
In https://google.github.io/mediapipe/getting_started/install.html#installing-on-windows, there is a note saying that building MediaPipe Android apps is still not possible on native Windows. Please do this in WSL instead.

@TechnicalMeaw
Copy link

TechnicalMeaw commented Dec 20, 2021

@TechnicalMeaw In https://google.github.io/mediapipe/getting_started/install.html#installing-on-windows, there is a note saying that building MediaPipe Android apps is still not possible on native Windows. Please do this in WSL instead.

Thanks for clarifying, I was trying it from last two days...

@google-ml-butler
Copy link

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.

@google-ml-butler
Copy link

Closing as stale. Please reopen if you'd like to work on this further.

@google-ml-butler
Copy link

Are you satisfied with the resolution of your issue?
Yes
No

@sgowroji sgowroji removed stat:awaiting response Waiting for user response stale labels Jan 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
legacy:hands Hand tracking/gestures/etc platform:android Issues with Android as Platform type:build/install For Build and Installation issues
Projects
None yet
Development

No branches or pull requests

4 participants