title: mediapipe bazel android bug libprotobuf_javalite.jar target value 1.7. Use 1.8 or later
body: <p>openjdk version &quot;1.8.0_292&quot;
  OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_292-b10)
  OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.292-b10, mixed mode)
  bazel 3.7.2</p>
  <p>Python 3.7.4
  opencv-3.4.3
  android-ndk-r19c</p>
  <p>bazel build -c opt --config=android_arm64 mediapipe/examples/android/src/java/com/google/mediapipe/apps/facedetectiongpu:facedetectiongpu</p>
  <p>warning: -parameters is not supported for target value 1.7. Use 1.8 or later.</p>
  <p>ERROR: /private/var/tmp/_bazel_qingzai/3fb4ffc2a9009e01bb6f98ddec9d6dae/external/com_google_protobuf/BUILD:679:13: Desugaring external/com_google_protobuf/libprotobuf_javalite.jar for Android failed: Worker process did not return a WorkResponse:</p>
  <p>ERROR: /private/var/tmp/_bazel_qingzai/3fb4ffc2a9009e01bb6f98ddec9d6dae/external/maven/BUILD:981:11: Desugaring maven/v1/https/maven.aliyun.com/repository/central/com/google/guava/failureaccess/1.0.1/failureaccess-1.0.1.jar for Android failed: Worker process did not return a WorkResponse:</p>
  <p>ERROR: /Users/qingzai/Downloads/mediapipe/mediapipe/java/com/google/mediapipe/framework/BUILD:127:16: Desugaring mediapipe/java/com/google/mediapipe/framework/libmediapipe_exception_android.jar for Android failed: Worker process did not return a WorkResponse:</p>
  <p>ERROR: /private/var/tmp/_bazel_qingzai/3fb4ffc2a9009e01bb6f98ddec9d6dae/external/maven/BUILD:890:11: Desugaring maven/v1/https/maven.aliyun.com/repository/central/com/google/code/findbugs/jsr305/3.0.2/jsr305-3.0.2.jar for Android failed: Worker process did not return a WorkResponse:</p>
  <p>ERROR: /private/var/tmp/_bazel_qingzai/3fb4ffc2a9009e01bb6f98ddec9d6dae/external/com_google_protobuf/BUILD:679:13: Desugaring external/com_google_protobuf/libprotobuf_javalite.jar for Android failed: Worker process did not return a WorkResponse:</p>
  <p>---8&lt;---8&lt;--- Start of log, file at /private/var/tmp/_bazel_qingzai/3fb4ffc2a9009e01bb6f98ddec9d6dae/bazel-workers/worker-66-Desugar.log ---8&lt;---8&lt;---
  Unknown option: 1
  Usage: head [-options] ...
  -m    use method for the request (default is 'HEAD')
  -f            make request even if head believes method is illegal
  -b      Use the specified URL as base
  -t   Set timeout value
  -i      Set the If-Modified-Since header on the request
  -c  use this content-type for POST, PUT, CHECKIN
  -a            Use text mode for content I/O
  -p  use this as a proxy
  -P            don't load proxy settings from environment
  -H    send this HTTP header (you can specify several)</p>
  <pre><code>-u            Display method and URL before any response
  -U            Display request headers (implies -u)
  -s            Display response status code
  -S            Display response status chain
  -e            Display response headers
  -d            Do not display content
  -o &lt;format&gt;   Process HTML content in various ways
  
  -v            Show program version
  -h            Print this message
  
  -x            Extra debugging output
  </code></pre>
  <p>---8&lt;---8&lt;--- End of log ---8&lt;---8&lt;---
  Target //mediapipe/examples/android/src/java/com/google/mediapipe/apps/facedetectiongpu:facedetectiongpu failed to build
  Use --verbose_failures to see the command lines of failed build steps.</p>