Update install.md

Add a JDK installation command for the running of an android app.
This commit is contained in:
yingshaoxo 2020-03-25 16:17:21 +08:00 committed by GitHub
parent 1722d4b8a2
commit e098386f80
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -709,6 +709,7 @@ and install a MediaPipe example app.
* Enter Bazel flags: `-c opt --config=android_arm64`. * Enter Bazel flags: `-c opt --config=android_arm64`.
* Press the `[+]` button to add the new configuration. * Press the `[+]` button to add the new configuration.
* Select `Run` to run the example app on the connected Android device. * Select `Run` to run the example app on the connected Android device.
> `JDK` was required for building android app: `apt install default-jdk`.
[`WORKSPACE`]: https://github.com/google/mediapipe/tree/master/WORKSPACE [`WORKSPACE`]: https://github.com/google/mediapipe/tree/master/WORKSPACE
[`opencv_linux.BUILD`]: https://github.com/google/mediapipe/tree/master/third_party/opencv_linux.BUILD [`opencv_linux.BUILD`]: https://github.com/google/mediapipe/tree/master/third_party/opencv_linux.BUILD