CameraX 1.5.0 fails to build

25 views
Skip to first unread message
Assigned to andrew...@google.com by scot...@google.com

Anton Ivanov

unread,
Sep 17, 2025, 12:02:19 PM (3 days ago) Sep 17
to Android CameraX Discussion Group
Hey, I'm updating to version 1.5.0 and it seems there's a problem with building it.
I get this error:

.gradle/caches/8.14/transforms/1b6f66bbcb501a9bf056a17ffd09a751/transformed/camera-core-1.5.0-api.jar(/androidx/camera/core/SurfaceRequest.class): error: Cannot attach type annotations @org.jspecify.annotations.NonNull to SurfaceRequest.mSurfaceRecreationCompleter:

  class file for androidx.concurrent.futures.CallbackToFutureAdapter not found


Adding implementation("androidx.concurrent:concurrent-futures:1.1.0") helps however.

Reply all
Reply to author
Forward
0 new messages