Skip to content

flutter create --template=plugin does not set the java 8 requirement #80442

Closed

Description

@kjeremy

flutter create --template=plugin for android java plugins does not add Java 1.8 compatibility per: https://flutter.dev/docs/development/add-to-app/android/project-setup#java-8-requirement

Activity

  1. added
    in triagePresently being triaged by the triage team
    a: existing-appsIntegration with existing apps via the add-to-app flow
    platform-androidAndroid applications specifically
    toolAffects the "flutter" command-line tool. See also t: labels.
    and removed
    in triagePresently being triaged by the triage team
    on Apr 15, 2021
  2. dnfield commented on Apr 16, 2021

    @dnfield
    Contributor

    I'm not quite sure what's broken here. Adding this shouldn't hurt anything, but it'd be nice to know what we're fixing. Are we sure this is still required witht he latest version of AGP?

    /cc @blasten who might know more.

  3. kjeremy commented on Apr 16, 2021

    @kjeremy
    Author

    Code generated with pigeon failed to compile because of this. Plus the linked document says that it's required.

  4. dnfield commented on Apr 16, 2021

    @dnfield
    Contributor

    Ahh ok, it's probably just that we've lucked out because we don't have plugins in use that are using Java 8 features.

  5. github-actions commented on Aug 2, 2021

    @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.

  6. locked as resolved and limited conversation to collaborators on Aug 2, 2021
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

    a: existing-appsIntegration with existing apps via the add-to-app flowplatform-androidAndroid applications specificallytoolAffects the "flutter" command-line tool. See also t: labels.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions