Se alguém tiver com este erro -> Task :capacitor-camera:compileDebugJavaWithJavac FAILED #6619
Unanswered
GuilhermeAlamino
asked this question in
Q&A
Replies: 1 comment 3 replies
-
version 5 of the camera plugin is supposed to be used in Capacitor 5, looks like you are using it in a previous version |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
@Permission(strings = { Manifest.permission.CAMERA }, alias = CameraPlugin.CAMERA),
// SDK VERSIONS 32 AND BELOW
@Permission(
strings = { Manifest.permission.READ_EXTERNAL_STORAGE, Manifest.permission.WRITE_EXTERNAL_STORAGE },
alias = CameraPlugin.PHOTOS
),
/*
SDK VERSIONS 33 AND ABOVE
This alias is a placeholder and the PHOTOS alias will be updated to use these permissions
so that the end user does not need to explicitly use separate aliases depending
on the SDK version.
*/
@Permission(strings = { Manifest.permission.READ_MEDIA_IMAGES }, alias = CameraPlugin.MEDIA)
aqui fala pra atualizar o sdk para 33 eu fiz isso e consegui, acaso não consiga tente contato comigo..
Beta Was this translation helpful? Give feedback.
All reactions