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

APK not working properly. #3

Open
kunalchamoli opened this issue Sep 11, 2021 · 3 comments
Open

APK not working properly. #3

kunalchamoli opened this issue Sep 11, 2021 · 3 comments

Comments

@kunalchamoli
Copy link

kunalchamoli commented Sep 11, 2021

Hello Swati
I tried running your code but ran into some error

/mediapipe/mediapipe/examples/android/src/java/com/google/mediapipe/apps/portraitsegmentationgpu/BUILD:35:15: Merging manifest for //mediapipe/examples/android/src/java/com/google/mediapipe/apps/portraitsegmentationgpu:portraitsegmentationgpu failed (Exit 1): ResourceProcessorBusyBox failed: error executing command bazel-out/k8-opt-exec-50AE0418/bin/external/bazel_tools/src/tools/android/java/com/google/devtools/build/android/ResourceProcessorBusyBox --tool MERGE_MANIFEST -- --manifest ... (remaining 11 argument(s) skipped)

a person here had the same issue, so i tried the solution given to him about adding converterNumBuffers paramerter into the BUILD and was then able to build the APK.

However, the built APK is still not working ( it is asking for camera permission, but the screen is black the whole time).
Since, I don't have much knowledge about android, could you also help me in debugging this.

@SwatiModi
Copy link
Owner

Hi Kunal,

there were some issues because of the outdated MediaPipe version, I have updated it, you should be able to build the app successfully now.

@zbt160
Copy link

zbt160 commented Nov 6, 2022

Hey what do you mean by outdated MediaPipe version affecting the app. I am just using docker file so I am hoping that the mediapipe version is up to date. I just recently cloned files from mediapipe github and other examples work perfectly in my case (hairsegmentationgpu)

I have the same black screen problem running your code from the article (I am not using your github code so if you changed something at github, then please let me know). I am not sure what is the problem here. Does it have something to do with the graphs? Please let me know Thanks!!

@zbt160
Copy link

zbt160 commented Nov 15, 2022

Just a reminder. Still not able to figure out the problem in this case. It will be great if you can give some pointers on the possible issue here. My version is the latest.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants