Status Update
Comments
le...@google.com <le...@google.com> #2
Hi,
The provided configuration looks correct. I was able to test it and it was working as expected on my end.
To troubleshoot this further, could you please share more details about the issue you're experiencing?
If possible, and if there's no confidential content, attaching the project would be very helpful in identifying the problem.
d....@gmail.com <d....@gmail.com> #3
<
I created a new project that doesn't crash, but this time the permission
window doesn't appear at all, how can you praise and release something that
isn't tested, it's buggy and it doesn't work at all. I wasted two days
trying to get something to work should be done in 5 minutes. I'll look for
a solution with ZXing.
On Tue, 17 Dec 2024 at 05:43, <buganizer-system@google.com> wrote:
ta...@google.com <ta...@google.com> #4
Hi,
The permission flow isn't really a part of CameraX and needs to be handled by users.
However, looking at your code, it seems like your permission-related code isn't working because you didn't add the permission to your manifest file.
I added the following permission related section in the AndroidManifest.xml
file of your project and could run the project properly on a device.
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools">
<uses-feature
android:name="android.hardware.camera"
android:required="false" />
<uses-permission android:name="android.permission.CAMERA" />
<application
android:allowBackup="true"
android:dataExtractionRules="@xml/data_extraction_rules"
.
.
.
Hope this helps, let us know if you have any other question regarding CameraX. Thanks.
Description
// CameraX core library using the camera2 implementation
def camerax_version = "1.5.0-alpha04"
// The following line is optional, as the core library is included indirectly by camera-camera2
implementation "androidx.camera:camera-core:${camerax_version}"
implementation "androidx.camera:camera-camera2:${camerax_version}"
// If you want to additionally use the CameraX Lifecycle library
implementation "androidx.camera:camera-lifecycle:${camerax_version}"
// If you want to additionally use the CameraX VideoCapture library
implementation "androidx.camera:camera-video:${camerax_version}"
// If you want to additionally use the CameraX View class
implementation "androidx.camera:camera-view:${camerax_version}"
// If you want to additionally add CameraX ML Kit Vision Integration
implementation "androidx.camera:camera-mlkit-vision:${camerax_version}"
// If you want to additionally use the CameraX Extensions library
implementation "androidx.camera:camera-extensions:${camerax_version}"
i got java.lang.IllegalStateException: CameraX is not configured properly. The most likely cause is you did not include a default implementation in your build such as 'camera-camera2'., i tried with different dependency versions but problem still perstist