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

UnsupportedOperationException No supported camera found for facing 1 #222

Closed
3 of 6 tasks
AhmedMousa7 opened this issue Jun 11, 2020 · 2 comments
Closed
3 of 6 tasks
Labels
inactive Issue is inactive from a long time

Comments

@AhmedMousa7
Copy link

AhmedMousa7 commented Jun 11, 2020

Update
i found that is issue caused when use targetSdkVersion 29

In some devices i faced this issue in both versions (3.4.3 and 3.5.5-alpha) that i cannot capture any photos or video i got those errors in log but the camera opened correctly

Access denied finding property "vendor.camera.aux.packagelist"
Access denied finding property "vendor.camera.hal1.packagelist"

and the exception passed to addCameraErrorListener is UnsupportedOperationException
No supported camera found for facing 1 Failed to open camera with id 'default'

and note that the permissions required for opening the camera and storage is enabled

Expected behavior
i can capture the photos or videos

Using ProGuard

  • with ProGuard
  • without ProGuard

Device :

  • Device: [Xiaomi A2 & One plus 7 pro]
  • OS: [Android 10]
  • App version [3.5.5-alpha & 3.4.3]
  • API 29

Branch Name (if using as a local module)

  • master
  • development
  • release
  • other (please specify)
@AhmedMousa7 AhmedMousa7 changed the title Access denied finding property "vendor.camera.aux.packagelist" UnsupportedOperationException No supported camera found for facing 1 Jun 11, 2020
@stale
Copy link

stale bot commented Jul 11, 2020

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 for your contributions.

@stale stale bot added the inactive Issue is inactive from a long time label Jul 11, 2020
@stale
Copy link

stale bot commented Jul 18, 2020

Closed due to inactivity.

@stale stale bot closed this as completed Jul 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
inactive Issue is inactive from a long time
Projects
None yet
Development

No branches or pull requests

1 participant