diff --git a/android/build.gradle b/android/build.gradle index c8af120..7dfa0a4 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -54,13 +54,15 @@ android { } dependencies { - // CameraX for scanner preview + frame analysis. Pinned to a stable - // train; the `view` module pulls in the rest transitively. - def cameraxVersion = '1.3.4' + // CameraX for scanner preview + frame analysis + ux.camera. + // 1.4.0+ ships 16-KB-aligned `libimage_processing_util_jni.so` + // (Android 15 requirement); 1.3.x failed the elf-alignment check. + def cameraxVersion = '1.4.2' implementation "androidx.camera:camera-core:$cameraxVersion" implementation "androidx.camera:camera-camera2:$cameraxVersion" implementation "androidx.camera:camera-lifecycle:$cameraxVersion" implementation "androidx.camera:camera-view:$cameraxVersion" + implementation "androidx.camera:camera-video:$cameraxVersion" // Pure-Kotlin/Java QR decoder. ~470 KB jar, no Play Services dep. implementation 'com.google.zxing:core:3.5.3' }