-
Notifications
You must be signed in to change notification settings - Fork 5.2k
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
Generating AAB (Not AAR) for Hair Segmentation Example #2991
Comments
Hi @ya332, Are you building on windows desktop ? |
I am building for Android on Windows 11 Laptop. |
@ya332 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. |
I am using WSL and can successfully build apk. However, I don't know how to build aab. Google Play store accepts only aab and not apk |
The medium article uses Gradle. Mediapipe hair segmentation example uses Bazel. I need to modify the Bazel build process to produce AABs. Do you know how I can do that? |
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. |
Hi @ya332, We can see a feature request on the same on bazel for AAB bazelbuild/bazel#11497. Present we can't do AAB in MediaPipe with bazel. If there is any update we will let you know soon. Thanks! |
Please make sure that this is a build/installation issue and also refer to the troubleshooting documentation before raising any issues.
System information (Please provide as much relevant information as possible)
OS Platform and Distribution (e.g. Linux Ubuntu 16.04, Android 11, iOS 14.4): Android 11
Compiler version (e.g. gcc/g++ 8 /Apple clang version 12.0.0):
Programming Language and version ( e.g. C++ 14, Python 3.6, Java ):
java-home: /home/wsluser/.cache/bazel/_bazel_wsluser/install/ee8d7e4b6774884ed2cd0aece6fc9fda/embedded_tools/jdk
java-runtime: OpenJDK Runtime Environment (build 11.0.6+10-LTS) by Azul Systems, Inc.
java-vm: OpenJDK 64-Bit Server VM (build 11.0.6+10-LTS, mixed mode) by Azul Systems, Inc.
Installed using virtualenv? pip? Conda? (if python):
MediaPipe version:v0.8.9
Bazel version: 4.2.1
XCode and Tulsi versions (if iOS):
Android SDK and NDK versions (if android):
Android AAR ( if android):
OpenCV version (if running on desktop):
Describe the problem:
Bazel can only generate apks and Play Store expects aab. I am trying to modify the Bazel build process to generate aab. I am getting NullPointerException.
harilight_android_application.bzl
bundle_config.pb.json
hairsegmentationgpu/BUILD
Provide the exact sequence of commands / steps that you executed before running into the problem:
Complete Logs:
Include Complete Log information or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached:
If there is easier way to convert an apk to an aab for Play Store, please let me know.
The text was updated successfully, but these errors were encountered: