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

🐛Vision Camera Android example App keeps crashing after installation #1631

Closed
3 of 4 tasks
FlyWong opened this issue Jun 22, 2023 · 2 comments · Fixed by #1466
Closed
3 of 4 tasks

🐛Vision Camera Android example App keeps crashing after installation #1631

FlyWong opened this issue Jun 22, 2023 · 2 comments · Fixed by #1466
Labels
🐛 bug Something isn't working

Comments

@FlyWong
Copy link

FlyWong commented Jun 22, 2023

What were you trying to do?

I am trying test out Vision Camera. I cloned the project from Git into VS code, installed dependencies thru yarn and tried to run the example with 'yarn android'.

WhatsApp Image 2023-06-22 at 18 33 39

The installed example App was installed on my Android phone but it kept crashing.

No error was flagged. May I know what should we check to get the example up and running?

NoErrRunAndroid

I am running on a win 10 machine and Samsung A53

Reproduceable Code

The original code from Git. No changes were made.

What happened instead?

The Android example App should run

Relevant log output

No response

Device

Samsung A53

VisionCamera Version

2.15.4

Additional information

@FlyWong FlyWong added the 🐛 bug Something isn't working label Jun 22, 2023
@mrousavy
Copy link
Owner

mrousavy commented Aug 3, 2023

Can you run adb logcat and see what logs you get?

@mrousavy
Copy link
Owner

Hey! I've rewritten the entire Android codebase of VisionCamera from CameraX to Camera2 in the efforts of ✨ VisionCamera V3.

I just now completed the Camera2 rewrite and I believe the core structure is running, but there might be some edge cases to iron out. Can you try and test the PR #1674 for me to see if you can still reproduce this issue here?

Here's an instruction on how you can test that: #1674 (comment)

If the issue cannot be reproduced with that version/PR anymore, then hoorayy, I fixed it! 🎉
Otherwise please let me know and I'll keep this issue open to keep track of it.

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants