Skip to content

Execution failed for task ':flutter_plugin_android_lifecycle:compileDebugJavaWithJavac'. #646

@Mohamed-64

Description

@Mohamed-64

Hi there, I am trying to integrate a unity project with flutter and I had this error what should I do?
I am using flutter 3.0.1
FAILURE: Build failed with an exception.

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

error: invalid flag: -xlint:deprecation

  • Try:

Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.

BUILD FAILED in 6s
Exception: Gradle task assembleDebug failed with exit code 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    BuildThis issue refers to the build configuration and builds failing.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions