Repository navigation
Description
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
darshankawar commentedon Nov 4, 2025
@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.
github-actions commentedon Nov 18, 2025
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 -vand a minimal reproduction of the issue.