Gradle error for annotation

Error:FAILURE: Build failed with an exception.

  • What went wrong:
    Task ‘Annotation’ not found in root project ‘ImageEditingDemo’.

  • Try:
    Run gradle tasks to get a list of available tasks. Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

  • Get more help at https://help.gradle.org

BUILD FAILED in 1s

There isn’t much anyone here can tell you outside of what the error states. You tried to run a task called Annotation, but there isn’t one in the ImageEditingDemo project that you have. You would need to provide some idea of what’s in the build script, or point us towards this project, if it’s publicly available somewhere.