Skip to content

Building with a custom Gradle build type fails if plugins are present. #71694

@dnfield

Description

@dnfield

Cause of the errors behind #71660

Adding the following to app/build.gradle:

android {
    buildTypes {
        local {
            initWith debug
        }
    }
}

To any flutter project with a plugin will fail to build.

/cc @blasten who hopefully knows how to fix this off the top of his head (:D)

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work lista: buildBuilding flutter applications with the toolplatform-androidAndroid applications specificallyt: gradle"flutter build" and "flutter run" on AndroidtoolAffects 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