Skip to content

Getting bug during building #177972

Closed as not planned
Closed as not planned

Description

@Sunil-nith

Steps to reproduce

/Users/sunil/.gradle/caches/8.13/transforms/7ae0e0d1613b3705a1fed67cb9ff48d0/transformed/jetified-camera-core-1.5.1-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
1 error

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':camera_android_camerax:compileDebugJavaWithJavac'.

Compilation failed; see the compiler output below.
/Users/sunil/.gradle/caches/8.13/transforms/7ae0e0d1613b3705a1fed67cb9ff48d0/transformed/jetified-camera-core-1.5.1-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
1 error

Expected results

/Users/sunil/.gradle/caches/8.13/transforms/7ae0e0d1613b3705a1fed67cb9ff48d0/transformed/jetified-camera-core-1.5.1-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
1 error

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':camera_android_camerax:compileDebugJavaWithJavac'.

Compilation failed; see the compiler output below.
/Users/sunil/.gradle/caches/8.13/transforms/7ae0e0d1613b3705a1fed67cb9ff48d0/transformed/jetified-camera-core-1.5.1-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
1 error

Actual results

/Users/sunil/.gradle/caches/8.13/transforms/7ae0e0d1613b3705a1fed67cb9ff48d0/transformed/jetified-camera-core-1.5.1-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
1 error

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':camera_android_camerax:compileDebugJavaWithJavac'.

Compilation failed; see the compiler output below.
/Users/sunil/.gradle/caches/8.13/transforms/7ae0e0d1613b3705a1fed67cb9ff48d0/transformed/jetified-camera-core-1.5.1-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
1 error

Code sample

Code sample
[Paste your code here]

Screenshots or Video

Screenshots / Video demonstration

[Upload media here]

Logs

Logs
[Paste your logs here]

Flutter Doctor output

Doctor output
[Paste your output here]

Activity

  1. darshankawar commented on Nov 4, 2025

    @darshankawar
    Member

    @Sunil-nith Your issue is better suited for support channels like StackOverflow.
    If you think this is an issue in Flutter sdk, use new issue template, fill out requested details so that we can properly address the issue.

  2. added
    r: invalidIssue is closed as not valid
    and removed
    in triagePresently being triaged by the triage team
    on Nov 4, 2025
  3. github-actions commented on Nov 18, 2025

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  4. locked as resolved and limited conversation to collaborators on Nov 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    r: invalidIssue is closed as not valid

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions